aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-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