first version of ncurses waterfall

This commit is contained in:
2019-01-10 14:07:56 +01:00
parent 6fe2c54cfb
commit ba9b0d993f
5 changed files with 98 additions and 33 deletions

View File

@@ -1,21 +1,23 @@
# --------------- ***
COPT = -Wall -g -DTRACE=0
# --------------- ***
ecran.o: ecran.c Makefile ecran.h
gcc -Wall -c $<
gcc $(COPT) -c $<
7segments.o: 7segments.c Makefile
gcc -Wall -c $<
gcc $(COPT) -c $<
waterfall.o: waterfall.c Makefile
gcc -Wall -c $<
gcc $(COPT) -c $<
# --------------- ***
OBJ = ecran.o waterfall.o 7segments.o
t: t.c Makefile $(OBJ) ecran.h
gcc -Wall $< $(OBJ) -lncurses -o $@
gcc $(COPT) $< $(OBJ) -lncurses -o $@
# --------------- ***