2009-12-04 20:10:49 +01:00
|
|
|
OBJS=menu.oo main.oo utils.oo frodo_menu.oo dialogue_box.oo menu_messages.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-26 19:53:04 +01:00
|
|
|
menu.oo: menu.cpp menu.hh utils.hh font.hh Makefile
|
2009-11-23 19:52:30 +01:00
|
|
|
|
2009-12-06 10:03:09 +01:00
|
|
|
frodo_menu.oo: frodo_menu.cpp frodo_menu.hh font.hh menu.hh \
|
2009-12-06 10:06:25 +01:00
|
|
|
sdl_ttf_font.hh dialogue_box.hh help_box.hh main_menu.hh Makefile
|
2009-11-28 09:22:19 +01:00
|
|
|
|
2009-11-23 19:52:30 +01:00
|
|
|
utils.oo: utils.cpp utils.hh Makefile
|
|
|
|
|
2009-11-29 10:29:26 +01:00
|
|
|
dialogue_box.oo: dialogue_box.cpp dialogue_box.hh menu.hh Makefile
|
|
|
|
|
2009-11-26 19:53:04 +01:00
|
|
|
main.oo: menu.hh utils.hh sdl_ttf_font.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-26 19:53:04 +01:00
|
|
|
rm -f *.oo menu *~
|