aboutsummaryrefslogtreecommitdiff
path: root/glfw/Makefile
blob: 5527c510f4b8e9bc77108575aae595d5fdf3c5b7 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
vpath %.c ../fmdriver
vpath %.c ../libopna
vpath %.c ../fmdsp
vpath %.c ../fft
vpath %.c ../soundout
vpath %.c ../common

TARGET:=fmplayer
OBJS:=main.o fmdsp_gl.o
OBJS+=fmdriver_common.o fmdriver_pmd.o fmdriver_fmp.o ppz8.o
OBJS+=opna.o opnafm.o opnassg.o opnassg-sinc-c.o opnadrum.o opnaadpcm.o opnatimer.o
OBJS+=fmdsp.o font_rom.o font_fmdsp_small.o fmdsp-vramlookup-c.o
OBJS+=fmdsp_platform_unix.o fft.o fmplayer_file_unix.o fmplayer_drumrom_unix.o fmplayer_file.o fmplayer_work_opna.o
OBJS+=soundout.o jackout.o
CFLAGS:=-std=c99 -Wall -Wextra -pedantic-errors -O2 -I.. -I. -pthread -I../soundout -DENABLE_JACK
LIBS:=-lglfw -lasound -pthread -lGL -lm -lsoxr -ljack

$(TARGET):	$(OBJS)
	$(CC) -o $@ $(OBJS) $(LIBS)

clean:
	rm -f $(TARGET) $(OBJS)