2009-12-04 19:10:49 +00:00
|
|
|
OBJS=menu.oo main.oo utils.oo frodo_menu.oo dialogue_box.oo menu_messages.oo
|
2009-11-23 18:28:34 +00:00
|
|
|
|
|
|
|
all: menu
|
2009-11-23 06:14:38 +00:00
|
|
|
|
|
|
|
%.oo: %.cpp
|
2009-11-23 18:52:30 +00:00
|
|
|
g++ -Wall -g -c `sdl-config --cflags` -o $@ $<
|
2009-11-23 06:14:38 +00:00
|
|
|
|
2009-11-26 18:53:04 +00:00
|
|
|
menu.oo: menu.cpp menu.hh utils.hh font.hh Makefile
|
2009-11-23 18:52:30 +00:00
|
|
|
|
2009-11-28 08:22:19 +00:00
|
|
|
frodo_menu.oo: frodo_menu.cpp frodo_menu.hh font.hh menu.hh Makefile
|
|
|
|
|
2009-11-23 18:52:30 +00:00
|
|
|
utils.oo: utils.cpp utils.hh Makefile
|
|
|
|
|
2009-11-29 09:29:26 +00:00
|
|
|
dialogue_box.oo: dialogue_box.cpp dialogue_box.hh menu.hh Makefile
|
|
|
|
|
2009-11-26 18:53:04 +00:00
|
|
|
main.oo: menu.hh utils.hh sdl_ttf_font.hh Makefile
|
2009-01-13 18:46:42 +00:00
|
|
|
|
2009-11-19 17:22:32 +00:00
|
|
|
menu: $(OBJS)
|
2009-11-23 18:28:34 +00:00
|
|
|
g++ `sdl-config --libs` -lSDL -lSDL_image -lSDL_ttf -o $@ $+
|
|
|
|
|
|
|
|
clean:
|
2009-11-26 18:53:04 +00:00
|
|
|
rm -f *.oo menu *~
|