1PYTHON ?= python
2PYTHONLIBDIR ?= $(shell $(PYTHON) -c "from distutils.sysconfig import *; print(get_python_lib(1))")
3PACKAGEDIR ?= $(DESTDIR)/$(PYTHONLIBDIR)/sepolgen
4
5all:
6
7install: all
8	-mkdir -p $(PACKAGEDIR)
9	install -m 644 *.py $(PACKAGEDIR)
10
11clean:
12	rm -f parser.out parsetab.py
13	rm -f *~ *.pyc
14
15
16