mirror of
https://github.com/Oibaf66/frodo-wii.git
synced 2024-11-23 03:49:26 +01:00
19 lines
324 B
Makefile
19 lines
324 B
Makefile
OBJS=menu.oo main.oo utils.oo
|
|
|
|
all: menu
|
|
|
|
%.oo: %.cpp
|
|
g++ -Wall -g -c `sdl-config --cflags` -o $@ $<
|
|
|
|
menu.oo: menu.cpp menu.hh utils.hh Makefile
|
|
|
|
utils.oo: utils.cpp utils.hh Makefile
|
|
|
|
main.oo: menu.hh utils.hh Makefile
|
|
|
|
menu: $(OBJS)
|
|
g++ `sdl-config --libs` -lSDL -lSDL_image -lSDL_ttf -o $@ $+
|
|
|
|
clean:
|
|
rm -f *.oo menu
|