DD2-monitor/serial/Makefile
2019-05-18 18:01:05 +02:00

20 lines
494 B
Makefile

# ---------------------------------------------------
# May be we have to put those objs in a .a ?
OPT = -Wall -DDEBUG_LEVEL=1
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} -lncurses -o $@
# ---------------------------------------------------