Page Menu
Home
c4science
Search
Configure Global Search
Log In
Files
F93856470
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
Mon, Dec 2, 01:27
Size
436 B
Mime Type
text/x-makefile
Expires
Wed, Dec 4, 01:27 (2 d)
Engine
blob
Format
Raw Data
Handle
22638660
Attached To
rLAMMPS lammps
Makefile
View Options
SHELL=/bin/sh
#########################
# adjust as needed
CXX=g++
CXXFLAGS=-Wall -O2
# set to .exe for windows
EXT=
#########################
all: abf_integrate$(EXT)
clean:
-rm *~ *.o abf_integrate$(EXT) *.exe
abf_integrate$(EXT): abf_integrate.o abf_data.o
$(CXX) -o $@ $(CXXFLAGS) $^
%.o: %.cpp
$(CXX) -o $@ -c $(CXXFLAGS) $<
# dependencies
abf_integrate.o: abf_integrate.cpp abf_data.h
abf_data.o: abf_data.cpp abf_data.h
Event Timeline
Log In to Comment