aboutsummaryrefslogtreecommitdiff
path: root/send+dump/Makefile
diff options
context:
space:
mode:
authorjdl <x75@users.sourceforge.net>2004-02-13 00:34:33 +0000
committerjdl <x75@users.sourceforge.net>2004-02-13 00:34:33 +0000
commitaca0c3c63a600a68ac2921d0cc2cb8eb1a4f293d (patch)
treebb64de89978b6a39f4c4d57543f03f9597de3a65 /send+dump/Makefile
parent729fd1a89907541a76926f14198c714009dc4595 (diff)
fixed some OSX stuff
svn path=/trunk/externals/OSCx/; revision=1319
Diffstat (limited to 'send+dump/Makefile')
-rw-r--r--send+dump/Makefile9
1 files changed, 7 insertions, 2 deletions
diff --git a/send+dump/Makefile b/send+dump/Makefile
index 7521258..a2d1180 100644
--- a/send+dump/Makefile
+++ b/send+dump/Makefile
@@ -1,7 +1,11 @@
LIBOSCDIR = ../libOSC
LIBOSC = ${LIBOSCDIR}/libOSC.a
-CFLAGS= -O2 -I$(LIBOSCDIR) -Wall
-DEFS= -Dunix
+# for eg. linux
+# DEFS= -Dunix
+# for MAC OSX, should be DARWIN
+DEFS=-Dunix -DMACOSX
+
+CFLAGS= -O2 -I$(LIBOSCDIR) $(DEFS) -Wall
DUMPOBJS=dumpOSC.o
@@ -19,6 +23,7 @@ dumpUDP: dumpUDP.o
${LIBOSC}:
echo "You need to go to " ${LIBOSCDIR} " and do a make."
+ (cd ../libOSC ; make)
clean:
rm -f sendOSC dumpOSC *.o