first real run on the phytotron
This commit is contained in:
@@ -1,5 +1,7 @@
|
||||
|
||||
OPT = -Wall -DDEBUG_LEVEL=0
|
||||
OBJS = serial.o funcs.o
|
||||
# ---------------------------------------------------
|
||||
|
||||
serial.o: serial.c serial.h Makefile
|
||||
gcc ${OPT} -c $<
|
||||
@@ -7,6 +9,8 @@ serial.o: serial.c serial.h Makefile
|
||||
funcs.o: funcs.c serial.h Makefile
|
||||
gcc ${OPT} -c $<
|
||||
|
||||
t: t.c serial.o funcs.o Makefile
|
||||
gcc ${OPT} $< serial.o funcs.o -o $@
|
||||
# ---------------------------------------------------
|
||||
|
||||
t: t.c Makefile ${OBJS}
|
||||
gcc ${OPT} $< ${OBJS} -o $@
|
||||
|
||||
|
||||
Reference in New Issue
Block a user