Timing is correct now! Forgot to update samples_per_tick when parsing the 0xf effect.
[pineappletracker.git] / Makefile
blob23bbc6a70dca2a55b41f420b0be166d498902f96
1 CC = gcc
2 CFLAGS = -g -std=c99 -O2 -Wall -Wno-comment $(SDL_CFLAGS) \
3 $(NCURSES_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)
13 all: pppt
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 pt.o gui.o modes.o actions.o lft.o
22 $(CC) -o $@ $^ ${LIBS}
24 .PHONY:
25 clean
26 clean:
27 @echo "clean ..."
28 @rm -f *.o pppt player sdl_gui