diff options
author | jdl <x75@users.sourceforge.net> | 2004-03-10 00:01:57 +0000 |
---|---|---|
committer | jdl <x75@users.sourceforge.net> | 2004-03-10 00:01:57 +0000 |
commit | 8ee6fc849523193a6c9ec849599b4153b7d97fdd (patch) | |
tree | 767e9c4522a420c9f2d87dd61495141f47f7c5cd /send+dump | |
parent | d8847bccfcc9ac116d81cd18ce485f5595e7f6bb (diff) |
changed to single external style ...
svn path=/trunk/externals/OSCx/; revision=1400
Diffstat (limited to 'send+dump')
-rw-r--r-- | send+dump/Makefile.in | 32 | ||||
-rw-r--r-- | send+dump/dumpOSC.c | 2 | ||||
-rw-r--r-- | send+dump/sendOSC.c | 2 |
3 files changed, 34 insertions, 2 deletions
diff --git a/send+dump/Makefile.in b/send+dump/Makefile.in new file mode 100644 index 0000000..6ff1cf2 --- /dev/null +++ b/send+dump/Makefile.in @@ -0,0 +1,32 @@ +LIBOSCDIR = ../libOSC +LIBOSC = ${LIBOSCDIR}/libOSC.a +# for eg. linux +# DEFS= -Dunix +# for MAC OSX, should be DARWIN +# DEFS=-Dunix -DMACOSX + +CFLAGS= @CFLAGS@ +# INCLUDES= @INCLUDES@ + +DUMPOBJS=dumpOSC.o + + +both: sendOSC dumpOSC + +sendOSC: sendOSC.o htmsocket.o ${LIBOSC} + ${CC} ${CFLAGS} $(INCLUDES) -o sendOSC sendOSC.o htmsocket.o ${LIBOSC} + +dumpOSC: ${DUMPOBJS} + ${CC} ${CFLAGS} $(INCLUDES) -o $@ ${DUMPOBJS} + +dumpUDP: dumpUDP.o + ${CC} ${CFLAGS} $(INCLUDES) -o dumpUDP dumpUDP.o + +${LIBOSC}: + echo "You need to go to " ${LIBOSCDIR} " and do a make." + (cd ../libOSC ; make) + +clean: + rm -f sendOSC dumpOSC *.o + + diff --git a/send+dump/dumpOSC.c b/send+dump/dumpOSC.c index 0837586..63efc38 100644 --- a/send+dump/dumpOSC.c +++ b/send+dump/dumpOSC.c @@ -60,7 +60,7 @@ Technologies, University of California, Berkeley. */ -#ifdef unix +#ifdef UNIX #include <stdio.h> #include <string.h> #include <stdlib.h> diff --git a/send+dump/sendOSC.c b/send+dump/sendOSC.c index d37a539..f445f92 100644 --- a/send+dump/sendOSC.c +++ b/send+dump/sendOSC.c @@ -55,7 +55,7 @@ compiling: /* #include <bstring.h> */ #include <string.h> -#ifdef unix +#ifdef UNIX #include <ctype.h> #include <netinet/in.h> #endif |