From 1f7475248b369e18114086b507ceceacdc1a0c24 Mon Sep 17 00:00:00 2001 From: Robin Haberkorn Date: Thu, 15 Nov 2012 01:25:38 +0100 Subject: 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) --- Makefile | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'Makefile') 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 -- cgit v1.2.3