aboutsummaryrefslogtreecommitdiff
path: root/glfw/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'glfw/Makefile')
-rw-r--r--glfw/Makefile22
1 files changed, 22 insertions, 0 deletions
diff --git a/glfw/Makefile b/glfw/Makefile
new file mode 100644
index 0000000..5527c51
--- /dev/null
+++ b/glfw/Makefile
@@ -0,0 +1,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)