Added C++ agent
[progcomp2013.git] / agents / agent++ / Makefile
diff --git a/agents/agent++/Makefile b/agents/agent++/Makefile
new file mode 100644 (file)
index 0000000..3f9f60f
--- /dev/null
@@ -0,0 +1,21 @@
+# Makefile for agent++
+
+CXX = g++ -std=gnu++0x -g -Werror -Wall -pedantic 
+LINK_OBJ = qchess.o agent.o main.o
+
+
+BIN = agent++
+
+$(BIN) : $(LINK_OBJ)
+       $(CXX) -o $(BIN) $(LINK_OBJ) 
+
+%.o : %.c
+       $(CXX) $(FLAGS) -c $<
+
+clean :
+       $(RM) $(BIN) $(OBJ) $(LINK_OBJ)
+
+clean_full: #cleans up all backup files
+       $(RM) $(BIN) $(OBJ) $(LINK_OBJ)
+       $(RM) *.*~
+       $(RM) *~

UCC git Repository :: git.ucc.asn.au