nmdb: Only unlink the pidfile if we were asked to write it
[nmdb.git] / Makefile
blob7c61c5ea6e1a681420d8b65809b872bf592e0ac1
2 all: default
4 default: nmdb libnmdb utils
6 nmdb:
7 $(MAKE) -C nmdb
9 libnmdb:
10 $(MAKE) -C libnmdb
12 utils:
13 $(MAKE) -C utils
15 install:
16 $(MAKE) -C nmdb install
17 $(MAKE) -C libnmdb install
18 $(MAKE) -C utils install
20 clean:
21 $(MAKE) -C nmdb clean
22 $(MAKE) -C libnmdb clean
23 $(MAKE) -C utils clean
26 python:
27 cd bindings/python && python setup.py build
29 python_install:
30 cd bindings/python && python setup.py install
32 python_clean:
33 cd bindings/python && rm -rf build/
35 python3:
36 cd bindings/python && python3 setup.py build
38 python3_install:
39 cd bindings/python && python3 setup.py install
41 python3_clean:
42 cd bindings/python && rm -rf build/
45 .PHONY: default all clean nmdb libnmdb utils \
46 python python_install python_clean \
47 python3 python3_install python3_clean