-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathMakefile
22 lines (16 loc) · 989 Bytes
/
Makefile
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
#pull in stuff from main StochKit makefiles
include $(STOCHKIT_HOME)/.make/makefile.c
include $(STOCHKIT_HOME)/.make/dependency.h
include $(STOCHKIT_HOME)/.make/src4obj.h
all: bin/stochkit_ode bin/stochkit_ode_debug
bin/stochkit_ode: ./ode.cpp ./ODECommandLine.o $(INPUT_DEPS) $(SERIAL_DEPS) $(UTILITY_DEPS) Input_ODE_before_compile_mass_action.h Input_ODE_before_compile_mixed.h
@mkdir -p bin
$(CXX) ./ode.cpp ./ODECommandLine.o $(INPUT_SRC) $(PARAMETER_SRC) -o ./bin/stochkit_ode $(ALLOPTIONS)
bin/stochkit_ode_debug: ./ode.cpp ./ODECommandLine.o $(INPUT_DEPS) $(SERIAL_DEPS) $(UTILITY_DEPS) Input_ODE_before_compile_mass_action.h Input_ODE_before_compile_mixed.h
@mkdir -p bin
$(CXX) -DDEBUG ./ode.cpp ./ODECommandLine.o $(INPUT_SRC) $(PARAMETER_SRC) -o ./bin/stochkit_ode_debug $(ALLOPTIONS)
ODECommandLine.o: ./ODECommandLine.cpp
$(CXX) -c ./ODECommandLine.cpp $(COMPILE_ONLY_OPTIONS)
include Makefile.ODE
clean:
rm -f *.o ./bin/stochkit_ode ./bin/stochkit_ode_debug