aboutsummaryrefslogtreecommitdiffhomepage
path: root/gtk/makefile
diff options
context:
space:
mode:
Diffstat (limited to 'gtk/makefile')
-rw-r--r--gtk/makefile7
1 files changed, 6 insertions, 1 deletions
diff --git a/gtk/makefile b/gtk/makefile
index 0c646e9bb..987a550a8 100644
--- a/gtk/makefile
+++ b/gtk/makefile
@@ -62,8 +62,10 @@ SHAREDEXTENSION = $(if $(windir),dll,so)
ifdef windir
CC = gcc
DEL = del /q
+LEXILLA = lexilla.dll
else
DEL = rm -f
+LEXILLA = liblexilla.so
endif
COMPLIB=$(basedir)/bin/scintilla.a
COMPONENT=$(basedir)/bin/libscintilla.$(SHAREDEXTENSION)
@@ -90,12 +92,15 @@ CONFIG_FLAGS:=$(shell pkg-config --cflags $(GTK_VERSION))
CONFIGLIB:=$(shell pkg-config --libs $(GTK_VERSION) gmodule-no-export-2.0)
MARSHALLER=scintilla-marshal.o
-all: $(COMPLIB) $(COMPONENT)
+all: $(COMPLIB) $(COMPONENT) $(LEXILLA)
static: $(COMPLIB)
shared: $(COMPONENT)
+$(LEXILLA):
+ $(MAKE) --directory=../lexilla/src
+
clean:
$(DEL) *.o $(call normalize,$(COMPLIB)) $(call normalize,$(COMPONENT)) *.plist