Web   ·   Wiki   ·   Activities   ·   Blog   ·   Lists   ·   Chat   ·   Meeting   ·   Bugs   ·   Git   ·   Translate   ·   Archive   ·   People   ·   Donate
summaryrefslogtreecommitdiffstats
path: root/mwlib/Makefile
blob: 0a7abd2b72500e8f0401fe0a4600e4dc44fee7e1 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
RE2C = re2c -w --no-generation-date

all: _expander.cc _mwscan.cc _mwscan.so _expander.so

_expander.so: _expander.cc
	(cd .. && python ./setup.py-mwlib build_ext --inplace build)

_mwscan.so: _mwscan.cc
	(cd .. && python ./setup.py-mwlib build_ext --inplace build)

_expander.cc: _expander.re
	$(RE2C)	-o _expander.cc  _expander.re

_mwscan.cc: _mwscan.re
	$(RE2C) -o _mwscan.cc  _mwscan.re

clean::
	rm -rf *.pyc *~ *.so build a.out