DD2-monitor/viz/curses/Makefile

22 lines
346 B
Makefile

# --------------- ***
ecran.o: ecran.c Makefile ecran.h
gcc -Wall -c $<
7segments.o: 7segments.c Makefile
gcc -Wall -c $<
waterfall.o: waterfall.c Makefile
gcc -Wall -c $<
# --------------- ***
OBJ = ecran.o waterfall.o 7segments.o
t: t.c Makefile $(OBJ) ecran.h
gcc -Wall $< $(OBJ) -lncurses -o $@
# --------------- ***