DD2-monitor/ui/Makefile

13 lines
280 B
Makefile
Raw Normal View History

2019-05-19 02:58:44 +11:00
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} -lncurses -o $@