aboutsummaryrefslogtreecommitdiff
path: root/sdl/unix
diff options
context:
space:
mode:
authorTakamichi Horikawa <takamichiho@gmail.com>2017-09-12 21:24:16 +0900
committerTakamichi Horikawa <takamichiho@gmail.com>2017-09-12 21:24:16 +0900
commit8435fa6d33704c5170635f9a53c17142f69117e4 (patch)
tree509815a4150bac919b6411bbba90f7bddf2b7d18 /sdl/unix
parent676390c58c6367bcfeda901456d637939645b78e (diff)
fmdsp: pacc: add level, fft
Diffstat (limited to 'sdl/unix')
-rw-r--r--sdl/unix/Makefile4
1 files changed, 3 insertions, 1 deletions
diff --git a/sdl/unix/Makefile b/sdl/unix/Makefile
index 9786031..ea22098 100644
--- a/sdl/unix/Makefile
+++ b/sdl/unix/Makefile
@@ -4,6 +4,7 @@ vpath %.c ../../fmdsp
vpath %.c ../../libopna
vpath %.c ../../common
vpath %.c ../../fmdriver
+vpath %.c ../../fft
SDLCONFIG:=sdl2-config
OBJS:=main.o
OBJS+=pacc-gl.o
@@ -11,6 +12,7 @@ OBJS+=fmdsp-pacc.o font_fmdsp_small.o fmdsp_platform_unix.o
OBJS+=opna.o opnafm.o opnassg.o opnadrum.o opnaadpcm.o opnatimer.o opnassg-sinc-c.o opnassg-sinc-sse2.o
OBJS+=fmdriver_pmd.o fmdriver_fmp.o ppz8.o fmdriver_common.o
OBJS+=fmplayer_file.o fmplayer_work_opna.o fmplayer_file_unix.o fmplayer_drumrom_unix.o
+OBJS+=fft.o
TARGET:=fmplayersdl
CFLAGS:=-Wall -Wextra -O2 -g
@@ -19,7 +21,7 @@ CFLAGS+=-DPACC_GL_3
#CFLAGS+=-DPACC_GL_ES -DPACC_GL_3
CFLAGS+=-I.. -I../..
CFLAGS+=$(shell $(SDLCONFIG) --cflags)
-LIBS:=-lGL
+LIBS:=-lGL -lm
LIBS+=$(shell $(SDLCONFIG) --libs)
$(TARGET): $(OBJS)