refraction part 1
[mancala] / src / launcher / Makefile
diff --git a/src/launcher/Makefile b/src/launcher/Makefile
new file mode 100644 (file)
index 0000000..a09eef0
--- /dev/null
@@ -0,0 +1,45 @@
+# GNU Makefile -- Makefile
+# 2009 Reto Zingg
+
+
+CC = gcc
+# DBG = gdb
+# STD = _GNU_SOURCE
+# CFLAGS = `sdl-config --cflags` -I/usr/local/include/SDL `pkg-config hildon-1 --cflags` -I/usr/include/dbus-1.0/ -I/usr/lib/dbus-1.0/include/
+# LFLAGS = `sdl-config --static-libs ` -lSDL_image -lSDL_ttf -lSDL_mixer `pkg-config hildon-1 --libs` `pkg-config --libs  libosso` -lhgw
+
+# MAIN_OBJ = main.o graphics.o mancala.o sounds.o play.o
+# MAIN_OBJ = graphics.o mancala.o sounds.o play.o callbacks.o
+# TEST_OBJ = ai-test.o mancala.o
+
+# NORMAL = ai.o
+# RECURSE = ai-init.o ai-recurse.o
+# ULTIMATE = ai-init.o ai-ultimate.o
+
+#'$<' is filename of input, '$@' is filename of output
+# .c.o:
+#      $(CC) -c -g$(DBG) -Wall $(CFLAGS) -D$(STD) $<
+# .h.o:
+#      $(CC) -c -g$(DBG) -Wall $(CFLAGS) -D$(STD) $<
+
+all:
+       $(CC) mancala-launcher.c -o mancala-launcher
+
+install:       all
+       mkdir -p $(DESTDIR)/home/opt/mancala/bin/
+       cp ./mancala-launcher $(DESTDIR)/home/opt/mancala/bin/mancala-launcher
+
+uninstall:
+       rm -rf $(DESTDIR)/home/opt/mancala/mancala-launcher
+
+clean:
+       rm -f *.o *.core *.swp *~ *.log
+
+clobber:       clean
+       rm -f mancala-launcher
+
+distclean:     clobber
+       @echo "No configuration files to distclean yet."
+       @echo "I will do my best to make some! ;-)"
+
+# End Makefile