Monitoring du Phytotron
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 
 
 

31 lines
579 B

# --------------- ***
COPT = -Wall -g -fpic -DTRACE=0
OBJS = ecran.o 7segments.o waterfall.o vumetre.o
ALIB = ../libdd2m-viz.a
# --------------- ***
${ALIB}: ${OBJS}
ar r $@ $?
# --------------- ***
ecran.o: ecran.c Makefile ecran.h
gcc $(COPT) -c $<
7segments.o: 7segments.c Makefile ecran.h
gcc $(COPT) -c $<
waterfall.o: waterfall.c Makefile ecran.h
gcc $(COPT) -c $<
vumetre.o: vumetre.c Makefile ecran.h
gcc $(COPT) -c $<
# --------------- ***
t: t.c Makefile $(ALIB) ecran.h
gcc $(COPT) $< $(ALIB) -lncurses -o $@
# --------------- ***