2018-12-12 16:06:18 +01:00
|
|
|
|
2018-12-12 20:07:49 +01:00
|
|
|
OPT = -Wall -DDEBUG_LEVEL=1
|
2018-12-12 16:06:18 +01:00
|
|
|
|
|
|
|
serial.o: serial.c serial.h Makefile
|
2018-12-12 20:07:49 +01:00
|
|
|
gcc ${OPT} -c $<
|
2018-12-12 16:06:18 +01:00
|
|
|
|
2018-12-29 17:07:23 +01: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-12 16:06:18 +01:00
|
|
|
|