mirror of
https://github.com/Oibaf66/frodo-wii.git
synced 2024-11-22 19:39:24 +01:00
30 lines
749 B
Makefile
30 lines
749 B
Makefile
OBJS=menu.oo main.oo utils.oo gui.oo dialogue_box.oo menu_messages.oo \
|
|
timer.oo game_info.oo
|
|
|
|
all: menu
|
|
|
|
%.oo: %.cpp
|
|
g++ -Wall -g -c `sdl-config --cflags` -o $@ $<
|
|
|
|
menu.oo: menu.cpp menu.hh utils.hh font.hh widget.hh Makefile
|
|
|
|
gui.oo: gui.cpp gui.hh Makefile font.hh menu.hh sdl_ttf_font.hh \
|
|
dialogue_box.hh help_box.hh main_menu.cpp disc_menu.cpp \
|
|
file_browser.hh timer.hh game_info.hh
|
|
|
|
game_info.oo: game_info.hh game_info.cpp
|
|
|
|
utils.oo: utils.cpp utils.hh Makefile
|
|
|
|
timer.oo: timer.cpp timer.hh utils.hh Makefile
|
|
|
|
dialogue_box.oo: dialogue_box.cpp dialogue_box.hh menu.hh Makefile
|
|
|
|
main.oo: menu.hh utils.hh sdl_ttf_font.hh Makefile
|
|
|
|
menu: $(OBJS)
|
|
g++ `sdl-config --libs` -lSDL -lSDL_image -lSDL_ttf -o $@ $+
|
|
|
|
clean:
|
|
rm -f *.oo menu *~
|