diff options
Diffstat (limited to 'curses/jinx/Makefile')
| -rw-r--r-- | curses/jinx/Makefile | 19 |
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 |
