diff options
Diffstat (limited to 'libOSC/Makefile')
-rw-r--r-- | libOSC/Makefile | 5 |
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 |