DD2-monitor/serial/Makefile

13 lines
213 B
Makefile
Raw Normal View History

2018-12-12 16:06:18 +01:00
2018-12-31 17:19:52 +01:00
OPT = -Wall -DDEBUG_LEVEL=0
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
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