2019-01-11 00:07:56 +11:00
|
|
|
# --------------- ***
|
2019-01-10 11:44:47 +11:00
|
|
|
|
2019-01-11 00:07:56 +11:00
|
|
|
COPT = -Wall -g -DTRACE=0
|
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
|
|
|
|
|
|
|
7segments.o: 7segments.c Makefile
|
2019-01-11 00:07:56 +11:00
|
|
|
gcc $(COPT) -c $<
|
2019-01-10 11:44:47 +11:00
|
|
|
|
|
|
|
waterfall.o: waterfall.c Makefile
|
2019-01-11 00:07:56 +11:00
|
|
|
gcc $(COPT) -c $<
|
2019-01-10 11:44:47 +11:00
|
|
|
|
|
|
|
# --------------- ***
|
|
|
|
|
|
|
|
OBJ = ecran.o waterfall.o 7segments.o
|
|
|
|
|
|
|
|
t: t.c Makefile $(OBJ) ecran.h
|
2019-01-11 00:07:56 +11:00
|
|
|
gcc $(COPT) $< $(OBJ) -lncurses -o $@
|
2019-01-10 11:44:47 +11:00
|
|
|
|
|
|
|
# --------------- ***
|