From d8847bccfcc9ac116d81cd18ce485f5595e7f6bb Mon Sep 17 00:00:00 2001 From: jdl Date: Wed, 10 Mar 2004 00:01:56 +0000 Subject: changed to single external style ... svn path=/trunk/externals/OSCx/; revision=1399 --- libOSC/Makefile | 26 -------------------------- libOSC/Makefile.in | 28 ++++++++++++++++++++++++++++ 2 files changed, 28 insertions(+), 26 deletions(-) delete mode 100644 libOSC/Makefile create mode 100644 libOSC/Makefile.in (limited to 'libOSC') diff --git a/libOSC/Makefile b/libOSC/Makefile deleted file mode 100644 index f1585fa..0000000 --- a/libOSC/Makefile +++ /dev/null @@ -1,26 +0,0 @@ -CFLAGS= -O2 -Wall -fPIC -ARFLAGS=srv -# uncomment the following for linux/win -# DEFS= -Dunix -# and this for osx -DEFS= -Dunix -DMACOSX -LIB=libOSC.a - -LIBOBJS= ${LIB}(OSC-client.o) ${LIB}(OSC-timetag.o) - -all: ${LIBOBJS} - -.c.a: - ${CC} -c ${CFLAGS} ${DEFS} $< - ${AR} ${ARFLAGS} $@ $*.o - rm -f $*.o - -test_OSC: test_OSC.o ${LIB} - cc -o test_OSC test_OSC.o ${LIB} - -test_OSC_timeTag: test_OSC_timeTag.o OSC-timetag.o - cc -o test_OSC_timeTag test_OSC_timeTag.o OSC-timetag.o - - -clean: - rm -f ${LIB} *.o diff --git a/libOSC/Makefile.in b/libOSC/Makefile.in new file mode 100644 index 0000000..26dca72 --- /dev/null +++ b/libOSC/Makefile.in @@ -0,0 +1,28 @@ +CFLAGS= -O2 -Wall -fPIC +ARFLAGS=srv +# uncomment the following for linux/win +# DEFS= -Dunix +# and this for osx +# DEFS= -Dunix -DMACOSX +LIB=libOSC.a + +CFLAGS= @CFLAGS@ + +LIBOBJS= ${LIB}(OSC-client.o) ${LIB}(OSC-timetag.o) + +all: ${LIBOBJS} + +.c.a: + ${CC} -c ${CFLAGS} ${DEFS} $< + ${AR} ${ARFLAGS} $@ $*.o + rm -f $*.o + +test_OSC: test_OSC.o ${LIB} + cc -o test_OSC test_OSC.o ${LIB} + +test_OSC_timeTag: test_OSC_timeTag.o OSC-timetag.o + cc -o test_OSC_timeTag test_OSC_timeTag.o OSC-timetag.o + + +clean: + rm -f ${LIB} *.o -- cgit v1.2.1