DD2-monitor/serial/Makefile

10 lines
143 B
Makefile

OPT = -Wall -DDEBUG_LEVEL=1
serial.o: serial.c serial.h Makefile
gcc ${OPT} -c $<
t: t.c serial.o Makefile
gcc ${OPT} $< serial.o -o $@