aller chercher des bieres ?
This commit is contained in:
@@ -1,8 +1,8 @@
|
||||
# ---------------------------------------------------
|
||||
# May be we have to put those objs in a .a ?
|
||||
|
||||
OPT = -Wall -DDEBUG_LEVEL=0
|
||||
OBJS = serial.o funcs.o
|
||||
OPT = -Wall -DDEBUG_LEVEL=1
|
||||
OBJS = serial.o funcs.o
|
||||
# ---------------------------------------------------
|
||||
|
||||
serial.o: serial.c serial.h Makefile
|
||||
@@ -14,5 +14,6 @@ funcs.o: funcs.c serial.h Makefile
|
||||
# ---------------------------------------------------
|
||||
|
||||
t: t.c Makefile ${OBJS}
|
||||
gcc ${OPT} $< ${OBJS} -o $@
|
||||
gcc ${OPT} $< ${OBJS} -lncurses -o $@
|
||||
|
||||
# ---------------------------------------------------
|
||||
|
||||
Reference in New Issue
Block a user