Load ht->ht_Tracks into tune->struct track trk[]. Seems I got it working for lft...
[pineappletracker.git] / Makefile
blob4f31e864965f9e9998723854fe646d722561107e
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 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