DD2-monitor/serial/Makefile
2019-03-28 12:04:40 +01:00

17 lines
329 B
Makefile

OPT = -Wall -DDEBUG_LEVEL=0
OBJS = serial.o funcs.o
# ---------------------------------------------------
serial.o: serial.c serial.h Makefile
gcc ${OPT} -c $<
funcs.o: funcs.c serial.h Makefile
gcc ${OPT} -c $<
# ---------------------------------------------------
t: t.c Makefile ${OBJS}
gcc ${OPT} $< ${OBJS} -o $@