2019-05-19 02:58:44 +11:00
|
|
|
|
|
|
|
CC = gcc
|
|
|
|
CCOPT = -Wall -g -DDEBUG_LEVEL=1
|
2019-05-21 22:45:22 +11:00
|
|
|
CLIB = ../core/libdd2m-core.a ../viz/libdd2m-viz.a
|
2019-05-19 02:58:44 +11:00
|
|
|
|
|
|
|
OSERIAL = ../serial/serial.o ../serial/funcs.o
|
|
|
|
|
|
|
|
terminal.o: terminal.c Makefile terminal.h
|
|
|
|
$(CC) ${CCOPT} $< -c
|
|
|
|
|
|
|
|
t: t.c terminal.o
|
2019-05-21 22:45:22 +11:00
|
|
|
${CC} ${CCOPT} $< terminal.o ${OSERIAL} ${CLIB} -lncurses -o $@
|