aboutsummaryrefslogtreecommitdiffhomepage
path: root/Makefile
diff options
context:
space:
mode:
authorRobin Haberkorn <robin.haberkorn@googlemail.com>2012-11-15 01:25:38 +0100
committerRobin Haberkorn <robin.haberkorn@googlemail.com>2012-11-15 01:25:38 +0100
commit1f7475248b369e18114086b507ceceacdc1a0c24 (patch)
tree3c4e157ff099dc6faa8978c4e5e1558e6424e4a0 /Makefile
parent33d3311dc9fe09e8cc670dc11378980f2f1d3eab (diff)
added Interface class to ease porting SciTECO to other platforms (toolkits)
* will support Scintilla with Scinterm/NCurses * changes are in such a way that the generated machine code should have almost no overhead compared to the previous implementation (at least when compiled with optimizations)
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile4
1 files changed, 2 insertions, 2 deletions
diff --git a/Makefile b/Makefile
index 7742afd..97be838 100644
--- a/Makefile
+++ b/Makefile
@@ -6,7 +6,7 @@ GTK_LDFLAGS:=$(shell pkg-config --libs gtk+-2.0)
SCI_CFLAGS:=-I../scintilla/include -DGTK -DSCI_LEXER
SCI_LDFLAGS:=../scintilla/bin/scintilla.a
-CPPFLAGS:=
+CPPFLAGS:=-DINTERFACE_GTK
CFLAGS:=-Wall -std=c99 -g -O0 $(GTK_CFLAGS) $(SCI_CFLAGS)
CXXFLAGS:=-Wall -g -O0 $(GTK_CFLAGS) $(SCI_CFLAGS)
LDFLAGS:=$(GTK_LDFLAGS) $(SCI_LDFLAGS)
@@ -15,7 +15,7 @@ all : sciteco
sciteco : main.o cmdline.o undo.o expressions.o qbuffers.o \
parser.o goto.o rbtree.o \
- gtk-info-popup.o
+ interface-gtk.o gtk-info-popup.o
$(CXX) -o $@ $^ $(LDFLAGS)
main.o : gtk-info-popup.h