1 # GNU Makefile -- Makefile
8 # 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/
9 # LFLAGS = `sdl-config --static-libs ` -lSDL_image -lSDL_ttf -lSDL_mixer `pkg-config hildon-1 --libs` `pkg-config --libs libosso` -lhgw
11 # MAIN_OBJ = main.o graphics.o mancala.o sounds.o play.o
12 # MAIN_OBJ = graphics.o mancala.o sounds.o play.o callbacks.o
13 # TEST_OBJ = ai-test.o mancala.o
16 # RECURSE = ai-init.o ai-recurse.o
17 # ULTIMATE = ai-init.o ai-ultimate.o
19 #'$<' is filename of input, '$@' is filename of output
21 # $(CC) -c -g$(DBG) -Wall $(CFLAGS) -D$(STD) $<
23 # $(CC) -c -g$(DBG) -Wall $(CFLAGS) -D$(STD) $<
26 $(CC) mancala-launcher.c -o mancala-launcher
29 mkdir -p $(DESTDIR)/home/opt/mancala/bin/
30 cp ./mancala-launcher $(DESTDIR)/home/opt/mancala/bin/mancala-launcher
33 rm -rf $(DESTDIR)/home/opt/mancala/mancala-launcher
36 rm -f *.o *.core *.swp *~ *.log
39 rm -f mancala-launcher
42 @echo "No configuration files to distclean yet."
43 @echo "I will do my best to make some! ;-)"