DD2-monitor/serial/Makefile

13 lines
213 B
Makefile
Raw Normal View History

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
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