2 CFLAGS
= -g
-std
=c99
-O2
-Wall
-Wno-comment
$(SDL_CFLAGS
) \
5 SDL_CFLAGS
= $(shell pkg-config
--cflags sdl
)
6 NCURSES_CFLAGS
= $(shell ncurses5-config
--cflags)
8 LIBS
= $(shell pkg-config
--libs sdl
) \
9 $(shell ncurses5-config
--libs
) \
10 #$(shell pkg-config --libs caca) \
11 #$(shell pkg-config --libs jack)
15 pppt
: main.o pt.o lft.o gui.o modes.o actions.o drivers
/sdl
/sdl_audio.o hvl_replay.o
16 $(CC
) -o
$@
$^
${LIBS}
18 player
: player.o lft.o gui.o modes.o actions.o
19 $(CC
) -o
$@
$^
${LIBS}
21 sdl_gui
: sdl_gui.o gui.o modes.o actions.o lft.o
22 $(CC
) -o
$@
$^
${LIBS}
28 @
rm -f
*.o pppt player sdl_gui