gadgets-OSC/functions/Makefile
2023-03-17 10:33:53 +01:00

49 lines
890 B
Makefile

#----------------------------------------------------
#
# functions
#
#----------------------------------------------------
all: libpocosc.a
OPTS = -Wall -g -DDEBUG_LEVEL=0
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 bigchars.o
ar r $@ $?
#
mkbigchars: mkbigchars.c Makefile
gcc ${OPTS} $< -o $@
chars8x8.def: mkbigchars Makefile
./mkbigchars 8x8thin $@
bigchars.o: bigchars.c chars8x8.def ncursefuncs.h Makefile
gcc ${OPTS} -c $<
# programmes de test
t: t.c Makefile libpocosc.a ncursefuncs.h
gcc $(OPTS) $< libpocosc.a -o $@