2018-12-13 02:06:18 +11:00
|
|
|
|
2018-12-13 06:07:49 +11:00
|
|
|
OPT = -Wall -DDEBUG_LEVEL=1
|
2018-12-13 02:06:18 +11:00
|
|
|
|
|
|
|
serial.o: serial.c serial.h Makefile
|
2018-12-13 06:07:49 +11:00
|
|
|
gcc ${OPT} -c $<
|
2018-12-13 02:06:18 +11:00
|
|
|
|
2018-12-30 03:07:23 +11:00
|
|
|
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 $@
|
2018-12-13 02:06:18 +11:00
|
|
|
|