From c0373e036e965a70045971e2abc582cb4bf12a4e Mon Sep 17 00:00:00 2001 From: mitchell Date: Sat, 10 Mar 2018 10:58:26 -0500 Subject: Added curses platform. --- curses/jinx/Makefile | 19 +++++++++++++++++++ 1 file changed, 19 insertions(+) create mode 100644 curses/jinx/Makefile (limited to 'curses/jinx/Makefile') diff --git a/curses/jinx/Makefile b/curses/jinx/Makefile new file mode 100644 index 000000000..6811d4f7e --- /dev/null +++ b/curses/jinx/Makefile @@ -0,0 +1,19 @@ +# Copyright 2012-2018 Mitchell mitchell.att.foicica.com. See License.txt. + +CC = gcc +CXX = g++ +INCLUDEDIRS = -I ../../include -I ../../src -I ../../lexlib -I ../ +CFLAGS = -DCURSES -DSCI_LEXER -D_XOPEN_SOURCE_EXTENDED -W -Wall $(INCLUDEDIRS) \ + -Wno-unused-parameter +CXXFLAGS = $(CFLAGS) + +scintilla = ../../bin/scintilla_curses.a +lexers = $(wildcard ../Lex*.o) + +all: jinx +jinx.o: jinx.c + $(CC) $(CFLAGS) -c $< +jinx: jinx.o $(lexers) $(scintilla) + $(CXX) -DCURSES $^ -o $@ -lncursesw +clean: + rm -f jinx *.o -- cgit v1.2.3