DD2-monitor/serial/Makefile
2019-05-14 15:33:00 +02:00

19 lines
429 B
Makefile

# ---------------------------------------------------
# May be we have to put those objs in a .a ?
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 $@