Changed the directory structure.
[progcomp2012.git] / home / progcomp / agents / basic_cpp / Makefile
diff --git a/home/progcomp/agents/basic_cpp/Makefile b/home/progcomp/agents/basic_cpp/Makefile
new file mode 100644 (file)
index 0000000..0a249b3
--- /dev/null
@@ -0,0 +1,30 @@
+#Makefile for basic_cpp
+# Sample C++ Stratego AI
+# UCC Programming Competition 2012 
+
+CPP = g++ -Wall -pedantic -lSDL -lGL  -g
+OBJ = basic_cpp.o
+
+BIN = basic_cpp
+
+
+
+$(BIN) : $(OBJ) 
+       $(CPP) -o $(BIN) $(OBJ)
+
+
+
+
+%.o : %.cpp %.h
+       $(CPP) -c $<
+
+clean :
+       $(RM) $(BIN) $(OBJ) $(LINKOBJ)
+
+#Cleans up all backup files
+clean_full: 
+       $(RM) $(BIN) $(OBJ) $(LINKOBJ)
+       $(RM) *.*~
+       $(RM) *~
+
+

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