- #-------------------------< Custom Section >-------------------------------#
- PROGNAME = TPJACK
- DEFS =
- #--------------------------< Primary Targets >-----------------------------#
- all: busytone dtmfascii dtmfread forceunload intercom inter2 ixjasync
- jackopen led playback playtone record ring testram tpjack tpjackd
- HEADERS = ixjuser.h UdpStack.h daemon.h
- #-------------------------< Compiler Flags >-------------------------------#
- CC = gcc
- CFLAGS = -ggdb -I.
- #--------------------------------------------------------------------------#
- clean:
- -rm -f *.a
- -rm -f *~
- -rm -f *#
- -rm -f core
- -rm -f udp.o
- -rm -f daemon.o
- -rm -f busytone
- -rm -f dtmfascii
- -rm -f dtmfread
- -rm -f forceunload
- -rm -f intercom
- -rm -f inter2
- -rm -f ixjasync
- -rm -f jackopen
- -rm -f led
- -rm -f playback
- -rm -f playtone
- -rm -f record
- -rm -f ring
- -rm -f testram
- -rm -f tpjack
- -rm -f tpjackd
- -rm -f TAGS
- tags:
- etags *.[ch]
- rcsclean:
- rcsclean
- #--------------------------------------------------------------------------#
- busytone : busytone.c $(HEADERS)
- ${CC} ${CFLAGS} -o $@ busytone.c ${DEFS}
- dtmfascii : dtmfascii.c $(HEADERS)
- ${CC} ${CFLAGS} -o $@ dtmfascii.c ${DEFS}
- dtmfread : dtmfread.c $(HEADERS)
- ${CC} ${CFLAGS} -o $@ dtmfread.c ${DEFS}
- forceunload : forceunload.c $(HEADERS)
- ${CC} ${CFLAGS} -o $@ forceunload.c ${DEFS}
- intercom : intercom.c $(HEADERS)
- ${CC} ${CFLAGS} -o $@ intercom.c ${DEFS}
- inter2 : inter2.c $(HEADERS)
- ${CC} ${CFLAGS} -o $@ inter2.c ${DEFS}
- ixjasync : ixjasync.c $(HEADERS)
- ${CC} ${CFLAGS} -o $@ ixjasync.c ${DEFS}
- jackopen : jackopen.c $(HEADERS)
- ${CC} ${CFLAGS} -o $@ jackopen.c ${DEFS}
- led : led.c $(HEADERS)
- ${CC} ${CFLAGS} -o $@ led.c ${DEFS}
- playback : playback.c $(HEADERS)
- ${CC} ${CFLAGS} -o $@ playback.c ${DEFS}
- playtone : playtone.c $(HEADERS)
- ${CC} ${CFLAGS} -o $@ playtone.c ${DEFS}
- record : record.c $(HEADERS)
- ${CC} ${CFLAGS} -o $@ record.c ${DEFS}
- ring : ring.c $(HEADERS)
- ${CC} ${CFLAGS} -o $@ ring.c ${DEFS}
- testram : testram.c $(HEADERS)
- ${CC} ${CFLAGS} -o $@ testram.c ${DEFS}
- tpjack : tpjack.c udp.o $(HEADERS)
- ${CC} ${CFLAGS} -o $@ tpjack.c udp.o ${DEFS}
- tpjackd : tpjackd.c udp.o daemon.o $(HEADERS)
- ${CC} ${CFLAGS} -o $@ tpjackd.c udp.o daemon.o ${DEFS}
- udp.o : UdpStack.c $(HEADERS)
- ${CC} ${CFLAGS} -c -o $@ UdpStack.c ${DEFS}
- daemon.o : daemon.c $(HEADERS)
- ${CC} ${CFLAGS} -c -o $@ daemon.c ${DEFS}