Page Menu
Home
c4science
Search
Configure Global Search
Log In
Files
F95045008
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
Thu, Dec 12, 10:18
Size
583 B
Mime Type
text/x-makefile
Expires
Sat, Dec 14, 10:18 (2 d)
Engine
blob
Format
Raw Data
Handle
22921875
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