27 lines
467 B
Makefile
27 lines
467 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 $<
|
|
|
|
vumetre.o: vumetre.c Makefile
|
|
gcc $(COPT) -c $<
|
|
|
|
# --------------- ***
|
|
|
|
OBJ = ecran.o waterfall.o 7segments.o vumetre.o
|
|
|
|
t: t.c Makefile $(OBJ) ecran.h
|
|
gcc $(COPT) $< $(OBJ) -lncurses -o $@
|
|
|
|
# --------------- ***
|