DD2-monitor/ui/Makefile
2019-05-21 13:45:22 +02:00

13 lines
294 B
Makefile

CC = gcc
CCOPT = -Wall -g -DDEBUG_LEVEL=1
CLIB = ../core/libdd2m-core.a ../viz/libdd2m-viz.a
OSERIAL = ../serial/serial.o ../serial/funcs.o
terminal.o: terminal.c Makefile terminal.h
$(CC) ${CCOPT} $< -c
t: t.c terminal.o
${CC} ${CCOPT} $< terminal.o ${OSERIAL} ${CLIB} -lncurses -o $@