aboutsummaryrefslogtreecommitdiffstats
path: root/example/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'example/Makefile')
-rw-r--r--example/Makefile9
1 files changed, 7 insertions, 2 deletions
diff --git a/example/Makefile b/example/Makefile
index 24fc4f0..dc05276 100644
--- a/example/Makefile
+++ b/example/Makefile
@@ -1,8 +1,13 @@
-target=test_optimizer
+target=test_optimizer test_fitter
+
+all:$(target)
test_optimizer:test_optimizer.cpp
- g++ -o $@ $< -I ../ -O2
+ g++ -o $@ $< -I ../ -O2 -g
+
+test_fitter:test_fitter.cpp
+ g++ -o $@ $< -I ../ -O2 -g
clean:
rm -f $(target)