making a serial embeded terminal

This commit is contained in:
phyto
2019-05-18 17:58:44 +02:00
parent 9cdd17310d
commit 40e1d434ff
4 changed files with 160 additions and 1 deletions

12
ui/Makefile Normal file
View File

@@ -0,0 +1,12 @@
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 $@