gadgets-OSC/functions/Makefile

49 lines
890 B
Makefile
Raw Permalink Normal View History

2019-08-02 14:34:15 +02:00
#----------------------------------------------------
#
# functions
#
#----------------------------------------------------
2019-08-25 16:51:36 +02:00
all: libpocosc.a
2023-03-17 10:33:53 +01:00
OPTS = -Wall -g -DDEBUG_LEVEL=0
2019-08-02 14:34:15 +02:00
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 $<
2020-02-21 18:05:13 +01:00
joyutils.o: joyutils.c joyutils.h Makefile
gcc ${OPTS} -c $<
2019-08-02 14:34:15 +02:00
ncursefuncs.o: ncursefuncs.c ncursefuncs.h Makefile
gcc ${OPTS} -c $<
2023-03-17 10:33:53 +01:00
#
2020-02-21 18:05:13 +01:00
libpocosc.a: senders.o alsaseq.o serial.o ncursefuncs.o \
2023-03-17 10:33:53 +01:00
joyutils.o bigchars.o
2019-08-02 14:34:15 +02:00
ar r $@ $?
2023-03-17 10:33:53 +01:00
#
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 $@