From fd1da450d5ccc95db53c5eb9c26f84a3a336a1c4 Mon Sep 17 00:00:00 2001 From: tomsmeding Date: Mon, 27 Apr 2015 11:55:16 +0200 Subject: Fix makefile --- Makefile | 12 ++++++++++-- 1 file 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 -- cgit v1.2.3-54-g00ecf