boilerplate for ncurses interface
This commit is contained in:
21
viz/curses/Makefile
Normal file
21
viz/curses/Makefile
Normal file
@@ -0,0 +1,21 @@
|
||||
|
||||
|
||||
# --------------- ***
|
||||
|
||||
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 $@
|
||||
|
||||
# --------------- ***
|
||||
Reference in New Issue
Block a user