aboutsummaryrefslogtreecommitdiff
path: root/libOSC/Makefile
diff options
context:
space:
mode:
authorjdl <x75@users.sourceforge.net>2002-10-20 16:01:10 +0000
committerjdl <x75@users.sourceforge.net>2002-10-20 16:01:10 +0000
commit749a6ec63a8f257c2b54511f1d7a5467ea4c38d9 (patch)
treecc19243d19b5a825456ac009b36d0765c4241dc3 /libOSC/Makefile
parent32277d1a5af19be53733fe77949e4efda17cdd7e (diff)
reduce warnings pass #1
svn path=/trunk/externals/OSCx/; revision=179
Diffstat (limited to 'libOSC/Makefile')
-rw-r--r--libOSC/Makefile5
1 files changed, 3 insertions, 2 deletions
diff --git a/libOSC/Makefile b/libOSC/Makefile
index 6261b37..fb21a26 100644
--- a/libOSC/Makefile
+++ b/libOSC/Makefile
@@ -1,4 +1,5 @@
-CFLAGS= -O2
+CFLAGS= -O2 -Wall
+DEFS= -Dunix
LIB=libOSC.a
LIBOBJS= ${LIB}(OSC-client.o) ${LIB}(OSC-timetag.o)
@@ -6,7 +7,7 @@ LIBOBJS= ${LIB}(OSC-client.o) ${LIB}(OSC-timetag.o)
all: ${LIBOBJS}
.c.a:
- ${CC} -c ${CFLAGS} $<
+ ${CC} -c ${CFLAGS} ${DEFS} $<
${AR} ${ARFLAGS} $@ $*.o
rm -f $*.o