29 lines
573 B
Makefile
29 lines
573 B
Makefile
#----------------------------------------------------
|
|
#
|
|
# functions
|
|
#
|
|
#----------------------------------------------------
|
|
|
|
all: libpocosc.a
|
|
|
|
OPTS = -Wall -g -DDEBUG_LEVEL=1
|
|
|
|
senders.o: senders.c senders.h Makefile
|
|
gcc ${OPTS} -c $<
|
|
|
|
alsaseq.o: alsaseq.c alsaseq.h Makefile
|
|
gcc ${OPTS} -c $<
|
|
|
|
serial.o: serial.c serial.h Makefile
|
|
gcc ${OPTS} -c $<
|
|
|
|
joyutils.o: joyutils.c joyutils.h Makefile
|
|
gcc ${OPTS} -c $<
|
|
|
|
ncursefuncs.o: ncursefuncs.c ncursefuncs.h Makefile
|
|
gcc ${OPTS} -c $<
|
|
|
|
libpocosc.a: senders.o alsaseq.o serial.o ncursefuncs.o \
|
|
joyutils.o
|
|
ar r $@ $?
|