aboutsummaryrefslogtreecommitdiff
path: root/Makefile
diff options
context:
space:
mode:
authortomsmeding <hallo@tomsmeding.nl>2015-04-27 11:55:16 +0200
committertomsmeding <hallo@tomsmeding.nl>2015-04-27 11:55:16 +0200
commitfd1da450d5ccc95db53c5eb9c26f84a3a336a1c4 (patch)
tree8afee65c74ee1905eaffa4b0b66288e37204457e /Makefile
parent763d469362032d801ffd1b16d84b3fb4e424e1d2 (diff)
Fix makefile
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile12
1 files changed, 10 insertions, 2 deletions
diff --git a/Makefile b/Makefile
index 76abc5f..6e94ba2 100644
--- a/Makefile
+++ b/Makefile
@@ -1,6 +1,11 @@
-.PHONY: all
+.PHONY: all clean
-all: neutrino randino gluon photon
+BINARIES = neutrino randino gluon photon viewcompetition
+
+all: $(BINARIES)
+
+clean:
+ rm $(BINARIES)
neutrino: neutrino.cc higgs.o
g++ -Wall -std=c++11 -O2 -o neutrino neutrino.cc higgs.o
@@ -16,3 +21,6 @@ randino: randino.cpp
higgs.o: higgs.cc
g++ -Wall -std=c++11 -O2 -c -o higgs.o higgs.cc
+
+viewcompetition: viewcompetition.cpp
+ g++ -Wall -std=c++11 -O2 -o viewcompetition viewcompetition.cpp