Page Menu
Home
c4science
Search
Configure Global Search
Log In
Files
F94201417
Makefile
No One
Temporary
Actions
Download File
Edit File
Delete File
View Transforms
Subscribe
Mute Notifications
Award Token
Subscribers
None
File Metadata
Details
File Info
Storage
Attached
Created
Wed, Dec 4, 16:52
Size
583 B
Mime Type
text/x-makefile
Expires
Fri, Dec 6, 16:52 (1 d, 15 h)
Engine
blob
Format
Raw Data
Handle
22742573
Attached To
rLAMMPS lammps
Makefile
View Options
EXTRAMAKE=Makefile.lammps.empty
CC=h5cc
HDF5_PATH=/usr
INC=-I include
AR=ar
ARFLAGS=rc
LIB=libch5md.a
all: lib
build/ch5md.o: src/ch5md.c
$(CC) $(INC) -c $< -o $@
.PHONY: Makefile.lammps
Makefile.lammps:
@echo "# Settings that the LAMMPS build will import when this package library is used" > Makefile.lammps
@echo "ch5md_SYSINC = -I${HDF5_PATH}/include" >> Makefile.lammps
@echo "ch5md_SYSLIB = -I${HDF5_PATH}/lib" >> Makefile.lammps
$(LIB): build/ch5md.o
$(AR) $(ARFLAGS) $(LIB) build/ch5md.o
lib: $(LIB) Makefile.lammps
clean:
rm -f build/*.o $(LIB) Makefile.lammps
Event Timeline
Log In to Comment