DD2-monitor/viz/curses/Makefile

32 lines
579 B
Makefile
Raw 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
OBJS = ecran.o 7segments.o waterfall.o vumetre.o
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-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
# --------------- ***