aboutsummaryrefslogtreecommitdiffhomepage
path: root/scintilla.am
blob: 0d408bdb3828befa947d966bda601ea1a160cdb3 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
# Scintilla/Scinterm are cloned as submodules
# of this repository, so we may give a rule
# for building scintilla.a here

if INTERFACE_GTK
SCINTILLA_MAKE_DIR = @SCINTILLA_PATH@/gtk
else
SCINTILLA_MAKE_DIR = @SCINTERM_PATH@
endif

@SCINTILLA_PATH@/bin/scintilla.a :
	$(MAKE) -C $(SCINTILLA_MAKE_DIR) \
	        CXX=@CXX@ AR=@AR@

clean-local-scintilla:
	$(MAKE) -C $(SCINTILLA_MAKE_DIR) clean

# NOTE: using a separate `clean-local-scintilla`
# target allows us to add more custom rules to the
# including Automake file
clean-local: clean-local-scintilla
.PHONY: clean-local-scintilla