DD2-monitor/serial/Makefile

13 lines
213 B
Makefile

OPT = -Wall -DDEBUG_LEVEL=0
serial.o: serial.c serial.h Makefile
gcc ${OPT} -c $<
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 $@