Page MenuHomec4science

Makefile
No OneTemporary

File Metadata

Created
Tue, Nov 26, 14:26

Makefile

SHELL=/bin/sh
#########################
# adjust as needed
CXX=g++
CXXFLAGS=-Wall -O2
LDFLAGS=
# 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) $(LDFLAGS) -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