Add cleantemp rule in Makefile
This commit is contained in:
parent
e39e1c7205
commit
089c825b0c
1 changed files with 5 additions and 1 deletions
|
|
@ -8,9 +8,13 @@ _api.so _capsule.so: api.cpp capsule.cpp
|
||||||
api.cpp api.py: src/*.py include/llvm_binding/*.h
|
api.cpp api.py: src/*.py include/llvm_binding/*.h
|
||||||
python gen.py api src $(PYMODS)
|
python gen.py api src $(PYMODS)
|
||||||
|
|
||||||
clean:
|
clean: cleantemp
|
||||||
rm -f _api.so _capsule.so
|
rm -f _api.so _capsule.so
|
||||||
|
|
||||||
|
cleantemp:
|
||||||
rm -f api.cpp api.py
|
rm -f api.cpp api.py
|
||||||
|
rm -f src/*.pyc
|
||||||
|
|
||||||
|
|
||||||
check: _api.so api.py
|
check: _api.so api.py
|
||||||
python test2.py
|
python test2.py
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue