DD2-monitor/viz/curses/Makefile

37 lines
661 B
Makefile
Raw Permalink Normal View History

2019-01-11 00:07:56 +11:00
# --------------- ***
2019-01-10 11:44:47 +11:00
2019-01-24 23:06:26 +11:00
COPT = -Wall -g -fpic -DTRACE=0
2019-02-05 22:16:27 +11:00
OBJS = ecran.o 7segments.o waterfall.o vumetre.o \
minidigits.o
2019-01-24 23:06:26 +11:00
ALIB = ../libdd2m-viz.a
# --------------- ***
${ALIB}: ${OBJS}
ar r $@ $?
2019-01-10 11:44:47 +11:00
# --------------- ***
ecran.o: ecran.c Makefile ecran.h
2019-01-11 00:07:56 +11:00
gcc $(COPT) -c $<
2019-01-10 11:44:47 +11:00
2019-01-24 23:06:26 +11:00
7segments.o: 7segments.c Makefile ecran.h
2019-01-11 00:07:56 +11:00
gcc $(COPT) -c $<
2019-01-10 11:44:47 +11:00
2019-01-24 23:06:26 +11:00
waterfall.o: waterfall.c Makefile ecran.h
2019-01-11 00:07:56 +11:00
gcc $(COPT) -c $<
2019-01-10 11:44:47 +11:00
2019-01-24 23:06:26 +11:00
vumetre.o: vumetre.c Makefile ecran.h
gcc $(COPT) -c $<
2019-02-05 22:16:27 +11:00
minidigits.o: minidigits.c Makefile ecran.h
gcc $(COPT) -c $<
2019-01-10 11:44:47 +11:00
# --------------- ***
2019-01-24 23:06:26 +11:00
t: t.c Makefile $(ALIB) ecran.h
gcc $(COPT) $< $(ALIB) -lncurses -o $@
2019-01-10 11:44:47 +11:00
# --------------- ***