blob: 6f244ef0e3c3f866c376e664d81c51d46ccaa72f (
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 build_ext --inplace build)
_mwscan.so: _mwscan.cc
(cd .. && python ./setup.py 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
|