24 lines
406 B
Makefile
24 lines
406 B
Makefile
# --------------- ***
|
|
|
|
COPT = -Wall -g -DTRACE=0
|
|
|
|
# --------------- ***
|
|
|
|
ecran.o: ecran.c Makefile ecran.h
|
|
gcc $(COPT) -c $<
|
|
|
|
7segments.o: 7segments.c Makefile
|
|
gcc $(COPT) -c $<
|
|
|
|
waterfall.o: waterfall.c Makefile
|
|
gcc $(COPT) -c $<
|
|
|
|
# --------------- ***
|
|
|
|
OBJ = ecran.o waterfall.o 7segments.o
|
|
|
|
t: t.c Makefile $(OBJ) ecran.h
|
|
gcc $(COPT) $< $(OBJ) -lncurses -o $@
|
|
|
|
# --------------- ***
|