DD2-monitor/serial/Makefile

20 lines
494 B
Makefile
Raw Normal View History

2019-05-14 15:33:00 +02:00
# ---------------------------------------------------
# May be we have to put those objs in a .a ?
2018-12-12 16:06:18 +01:00
2019-05-18 18:01:05 +02:00
OPT = -Wall -DDEBUG_LEVEL=1
OBJS = serial.o funcs.o
2019-03-28 12:04:40 +01:00
# ---------------------------------------------------
2018-12-12 16:06:18 +01:00
serial.o: serial.c serial.h Makefile
2018-12-12 20:07:49 +01:00
gcc ${OPT} -c $<
2018-12-12 16:06:18 +01:00
funcs.o: funcs.c serial.h Makefile
gcc ${OPT} -c $<
2019-03-28 12:04:40 +01:00
# ---------------------------------------------------
t: t.c Makefile ${OBJS}
2019-05-18 18:01:05 +02:00
gcc ${OPT} $< ${OBJS} -lncurses -o $@
2018-12-12 16:06:18 +01:00
2019-05-18 18:01:05 +02:00
# ---------------------------------------------------