X-Git-Url: https://git.ucc.asn.au/?p=progcomp2013.git;a=blobdiff_plain;f=agents%2Fsilverfish%2FMakefile;fp=agents%2Fsilverfish%2FMakefile;h=e2c4927146a01b673ac7a0532d21cb9f36ed43c5;hp=0000000000000000000000000000000000000000;hb=7518ec8d771e731d6ffbbe00b275b7e3c4b23301;hpb=8571bc0c18f4a42bd1c8f34a5a36bcd9678b3f14 diff --git a/agents/silverfish/Makefile b/agents/silverfish/Makefile new file mode 100644 index 0000000..e2c4927 --- /dev/null +++ b/agents/silverfish/Makefile @@ -0,0 +1,33 @@ +#Makefile for SilverFish agent +CXX = g++ -std=gnu++0x -Wall -Werror -pedantic -g +OBJ = qchess.o agent.o silverfish.o main.o +LIB = + +LINKOBJ = $(OBJ) + +RM = rm -f +BIN = silver + + + +$(BIN) : $(LINKOBJ) + $(CXX) -o $(BIN) $(LINKOBJ) + +%.o : %.cpp + $(CXX) -c $< + +no_main : $(OBJ) + +main.o : main.cpp + $(CXX) -c main.cpp + +clean : + $(RM) $(BIN) $(OBJ) $(LINKOBJ) + +clean_full: #cleans up all backup files + $(RM) $(BIN) $(OBJ) $(LINKOBJ) + $(RM) *.*~ + $(RM) *~ + + + \ No newline at end of file