From f7cf72b6a1cd5373f39e025ae260561e33a91e8e Mon Sep 17 00:00:00 2001 From: tomsmeding Date: Mon, 27 Apr 2015 20:36:43 +0200 Subject: Update charm and add to makefile --- Makefile | 5 ++++- charm.cpp | 5 ++++- 2 files changed, 8 insertions(+), 2 deletions(-) diff --git a/Makefile b/Makefile index 6e94ba2..63cde7d 100644 --- a/Makefile +++ b/Makefile @@ -1,6 +1,6 @@ .PHONY: all clean -BINARIES = neutrino randino gluon photon viewcompetition +BINARIES = neutrino randino gluon photon viewcompetition charm all: $(BINARIES) @@ -19,6 +19,9 @@ photon: photon.cc higgs.o randino: randino.cpp g++ -Wall -std=c++11 -O2 -o randino randino.cpp +charm: charm.cpp + g++ -Wall -std=c++11 -O2 -o charm charm.cpp + higgs.o: higgs.cc g++ -Wall -std=c++11 -O2 -c -o higgs.o higgs.cc diff --git a/charm.cpp b/charm.cpp index 1434e8c..56af6c5 100644 --- a/charm.cpp +++ b/charm.cpp @@ -109,7 +109,10 @@ int scorefor(const Board &bd){ for(i=0;i