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
|
|
|
|
|
|
|
t: t.c serial.o Makefile
|
2018-12-12 20:07:49 +01:00
|
|
|
gcc ${OPT} $< serial.o -o $@
|
2018-12-12 16:06:18 +01:00
|
|
|
|