aboutsummaryrefslogtreecommitdiffhomepage
path: root/curses/jinx/Makefile
diff options
context:
space:
mode:
authormitchell <unknown>2018-03-10 10:58:26 -0500
committermitchell <unknown>2018-03-10 10:58:26 -0500
commitc0373e036e965a70045971e2abc582cb4bf12a4e (patch)
tree24bbd02ff5a9c032157a24a4856c325398455bd4 /curses/jinx/Makefile
parentb086b4d30fee49c09184b2145e3a222925ac3fc8 (diff)
downloadscintilla-mirror-c0373e036e965a70045971e2abc582cb4bf12a4e.tar.gz
Added curses platform.
Diffstat (limited to 'curses/jinx/Makefile')
-rw-r--r--curses/jinx/Makefile19
1 files changed, 19 insertions, 0 deletions
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