summaryrefslogtreecommitdiffstats
path: root/Makefile
diff options
context:
space:
mode:
authorroot <root@no.no.james.local>2019-02-26 16:49:10 +0000
committerroot <root@no.no.james.local>2019-02-26 16:49:10 +0000
commit6e75bcc7f8df65d4901b2918aafb501c6baefabe (patch)
tree6f50017e1e70c6c87ba0b7714ce930204d9d45a2 /Makefile
parent24fd0e3b0d4eb97fbd730fc33c1c1d770bbe1247 (diff)
downloadgen_msf-master.tar.gz
gen_msf-master.tar.bz2
gen_msf-master.zip
windows supportishHEADmaster
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile12
1 files changed, 10 insertions, 2 deletions
diff --git a/Makefile b/Makefile
index edd9837..a8c74c6 100644
--- a/Makefile
+++ b/Makefile
@@ -1,11 +1,19 @@
CSRCS=time_fn.c msf.c util.c main.c signal.c sync.c audio.c
HSRCS=time_fn.h project.h
PROG=msf
+LIBS=-lm
+CPPFLAGS=
+
AO_CFLAGS=$(shell pkg-config --cflags ao)
AO_LIBS=$(shell pkg-config --libs ao)
-LIBS=-lm $(AO_LIBS)
-CPPFLAGS=$(AO_CFLAGS)
+AO_CFLAGS=-Iprefix/include
+AO_LIBS=prefix/lib/libao.a
+
+LIBS+=$(AO_LIBS)
+CPPFLAGS+=$(AO_CFLAGS)
+
+CC=x86_64-w64-mingw32-gcc
#####################