gadgets-OSC/functions/Makefile

49 lines
890 B
Makefile
Raw Permalink Normal View History

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