Better cleaning

This commit is contained in:
Ondrej Mikle 2014-07-19 20:33:05 +02:00
parent 971e619de7
commit 05bd1d4de0

View file

@ -1,7 +1,7 @@
CXXFLAGS += -Wall -g -I /usr/include/python2.6/ -fPIC
LDFLAGS += -lnfc
OBJECTS = brmdoor_nfc.o brmdoor_nfc_wrap.o
SWIG_GENERATED = brmdoor_nfc_wrap.cxx
SWIG_GENERATED = brmdoor_nfc_wrap.cxx brmdoor_nfc.py
PY_MODULE = _brmdoor_nfc.so
all: $(PY_MODULE)
@ -19,7 +19,7 @@ brmdoor_nfc_wrap.cxx: brmdoor_nfc.i brmdoor_nfc.h
swig -python -c++ $<
clean:
rm -f $(OBJECTS) $(PY_MODULE) $(SWIG_GENERATED)
rm -f $(OBJECTS) $(PY_MODULE) $(SWIG_GENERATED) *.pyc
doxygen:
doxygen Doxyfile