aboutsummaryrefslogtreecommitdiff
path: root/send+dump/Makefile.in
blob: f7444a6f879a0983cc4cb01b5cb1860baf2d6bf6 (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
29
LIBOSCDIR = ../libOSC
LIBOSC = ${LIBOSCDIR}/libOSC.a

# strange bug requires this...
CFLAGS= @CFLAGS@ @INCLUDES@
# 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