aboutsummaryrefslogtreecommitdiff
path: root/libOSC/Makefile.in
blob: 26dca720eb887b2a6604782694367f327c5bbfec (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
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