aboutsummaryrefslogtreecommitdiff
path: root/send+dump/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'send+dump/Makefile')
-rw-r--r--send+dump/Makefile9
1 files changed, 5 insertions, 4 deletions
diff --git a/send+dump/Makefile b/send+dump/Makefile
index 7b14a43..7521258 100644
--- a/send+dump/Makefile
+++ b/send+dump/Makefile
@@ -1,6 +1,7 @@
LIBOSCDIR = ../libOSC
LIBOSC = ${LIBOSCDIR}/libOSC.a
-CFLAGS= -O2 -I$(LIBOSCDIR)
+CFLAGS= -O2 -I$(LIBOSCDIR) -Wall
+DEFS= -Dunix
DUMPOBJS=dumpOSC.o
@@ -8,13 +9,13 @@ DUMPOBJS=dumpOSC.o
both: sendOSC dumpOSC
sendOSC: sendOSC.o htmsocket.o ${LIBOSC}
- ${CC} -o sendOSC sendOSC.o htmsocket.o ${LIBOSC}
+ ${CC} ${CFLAGS} ${DEFS} -o sendOSC sendOSC.o htmsocket.o ${LIBOSC}
dumpOSC: ${DUMPOBJS}
- ${CC} -o $@ ${DUMPOBJS}
+ ${CC} ${CFLAGS} ${DEFS} -o $@ ${DUMPOBJS}
dumpUDP: dumpUDP.o
- ${CC} -o dumpUDP dumpUDP.o
+ ${CC} ${CFLAGS} ${DEFS} -o dumpUDP dumpUDP.o
${LIBOSC}:
echo "You need to go to " ${LIBOSCDIR} " and do a make."