Page Menu
Home
c4science
Search
Configure Global Search
Log In
Files
F123970458
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, Jul 30, 15:37
Size
597 B
Mime Type
text/x-makefile
Expires
Fri, Aug 1, 15:37 (2 d)
Engine
blob
Format
Raw Data
Handle
27703015
Attached To
rLAMMPS lammps
Makefile
View Options
EXTRAMAKE=Makefile.lammps.empty
CC=h5cc
# -DH5_NO_DEPRECATED_SYMBOLS is required to force using the v1.8 API
# on HDF5 installations configured to default to using the v1.6 API.
CFLAGS=-D_DEFAULT_SOURCE -O2 -DH5_NO_DEPRECATED_SYMBOLS
HDF5_PATH=/usr
INC=-I include
AR=ar
ARFLAGS=rc
LIB=libch5md.a
all: lib Makefile.lammps
build:
mkdir -p build
build/ch5md.o: src/ch5md.c | build
$(CC) $(INC) $(CFLAGS) -c $< -o $@
Makefile.lammps:
cp Makefile.lammps.empty $@
.PHONY: all lib clean
$(LIB): build/ch5md.o
$(AR) $(ARFLAGS) $(LIB) build/ch5md.o
lib: $(LIB)
clean:
rm -f build/*.o $(LIB)
Event Timeline
Log In to Comment