summaryrefslogtreecommitdiffstats
path: root/Makefile
diff options
context:
space:
mode:
authorYour Name <you@example.com>2019-02-26 13:21:29 +0000
committerYour Name <you@example.com>2019-02-26 13:21:29 +0000
commit89aa56f25116fc642928f352c14fe2d485532749 (patch)
treef3e74785601c2d9daca159e049cdd3be4089aec1 /Makefile
parent9b0002fc40f4d8b97cf2064910a9ded467f29276 (diff)
downloadgen_msf-89aa56f25116fc642928f352c14fe2d485532749.tar.gz
gen_msf-89aa56f25116fc642928f352c14fe2d485532749.tar.bz2
gen_msf-89aa56f25116fc642928f352c14fe2d485532749.zip
working sync and audio
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile13
1 files changed, 10 insertions, 3 deletions
diff --git a/Makefile b/Makefile
index 01a4471..edd9837 100644
--- a/Makefile
+++ b/Makefile
@@ -1,11 +1,18 @@
-CSRCS=time_fn.c msf.c util.c main.c
+CSRCS=time_fn.c msf.c util.c main.c signal.c sync.c audio.c
HSRCS=time_fn.h project.h
+PROG=msf
+AO_CFLAGS=$(shell pkg-config --cflags ao)
+AO_LIBS=$(shell pkg-config --libs ao)
+LIBS=-lm $(AO_LIBS)
+CPPFLAGS=$(AO_CFLAGS)
+
+
+
+#####################
OBJS=${CSRCS:%.c=%.o}
-PROG=msf
-CPPFLAGS=
CFLAGS=-Wall ${CPPFLAGS}
CPROTO=cproto