2009-12-19 10:00:29 +01:00
|
|
|
OBJS=menu.oo main.oo utils.oo gui.oo dialogue_box.oo menu_messages.oo \
|
2010-01-16 10:09:07 +01:00
|
|
|
timer.oo game_info.oo widget.oo virtual_keyboard.oo listener.oo \
|
|
|
|
status_bar.oo
|
2009-11-23 19:28:34 +01:00
|
|
|
|
|
|
|
all: menu
|
2009-11-23 07:14:38 +01:00
|
|
|
|
|
|
|
%.oo: %.cpp
|
2010-01-01 10:30:05 +01:00
|
|
|
g++ -Imocks -Wall -g -c `sdl-config --cflags` -o $@ $<
|
2009-11-23 07:14:38 +01:00
|
|
|
|
2009-12-19 16:46:15 +01:00
|
|
|
menu.oo: menu.cpp menu.hh utils.hh font.hh widget.hh Makefile
|
2009-11-23 19:52:30 +01:00
|
|
|
|
2009-12-19 19:33:18 +01:00
|
|
|
widget.oo: widget.cpp widget.hh
|
|
|
|
|
2009-12-19 10:00:29 +01:00
|
|
|
gui.oo: gui.cpp gui.hh Makefile font.hh menu.hh sdl_ttf_font.hh \
|
2009-12-15 19:37:34 +01:00
|
|
|
dialogue_box.hh help_box.hh main_menu.cpp disc_menu.cpp \
|
2009-12-29 14:23:01 +01:00
|
|
|
file_browser.hh timer.hh game_info.hh widget.hh options_menu.cpp \
|
2010-01-16 15:08:39 +01:00
|
|
|
network_menu.cpp theme_menu.cpp bind_keys_menu.cpp game_info_menu.cpp \
|
|
|
|
game_info_box.hh \
|
|
|
|
mocks/Prefs.h mocks/C64.h \
|
2009-11-28 09:22:19 +01:00
|
|
|
|
2009-12-31 14:25:46 +01:00
|
|
|
virtual_keyboard.oo: virtual_keyboard.hh virtual_keyboard.cpp widget.hh listener.hh
|
2009-12-19 19:52:40 +01:00
|
|
|
|
2009-12-19 10:00:29 +01:00
|
|
|
game_info.oo: game_info.hh game_info.cpp
|
|
|
|
|
2009-11-23 19:52:30 +01:00
|
|
|
utils.oo: utils.cpp utils.hh Makefile
|
|
|
|
|
2009-12-16 18:47:03 +01:00
|
|
|
timer.oo: timer.cpp timer.hh utils.hh Makefile
|
|
|
|
|
2009-12-31 14:25:46 +01:00
|
|
|
dialogue_box.oo: dialogue_box.cpp dialogue_box.hh menu.hh listener.hh
|
|
|
|
|
|
|
|
listener.oo: listener.cpp listener.hh
|
2009-11-29 10:29:26 +01:00
|
|
|
|
2010-01-06 17:42:55 +01:00
|
|
|
main.oo: menu.hh gui.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 *~
|