2009-11-23 19:52:30 +01:00
|
|
|
OBJS=menu.oo main.oo utils.oo
|
2009-11-23 19:28:34 +01:00
|
|
|
|
|
|
|
all: menu
|
2009-11-23 07:14:38 +01:00
|
|
|
|
|
|
|
%.oo: %.cpp
|
2009-11-23 19:52:30 +01:00
|
|
|
g++ -Wall -g -c `sdl-config --cflags` -o $@ $<
|
2009-11-23 07:14:38 +01:00
|
|
|
|
2009-11-23 19:52:30 +01:00
|
|
|
menu.oo: menu.cpp menu.hh utils.hh Makefile
|
|
|
|
|
|
|
|
utils.oo: utils.cpp utils.hh Makefile
|
|
|
|
|
|
|
|
main.oo: menu.hh utils.hh Makefile
|
2009-01-13 19:46:42 +01:00
|
|
|
|
2009-11-19 18:22:32 +01:00
|
|
|
menu: $(OBJS)
|
2009-11-23 19:28:34 +01:00
|
|
|
g++ `sdl-config --libs` -lSDL -lSDL_image -lSDL_ttf -o $@ $+
|
|
|
|
|
|
|
|
clean:
|
2009-11-23 20:33:51 +01:00
|
|
|
rm -f *.oo menu
|