Commits

Aleš Erjavec committed 8dde6ec

- force Makefile.depends creation on first pass, fixed make clean

Comments (0)

Files changed (1)

   LINKOPTIONS = -shared -lstdc++ $(LDFLAGS)
 endif
 
+MAKEFILEDEPENDS := $(shell python -c "import sys; sys.path=['..']+sys.path; import setup; setup.writeMakeFileDepends();") #to force Makefile.depends creation on first pass
+
 all: modules
 
 Makefile.depends: ../setup.py
 
 clean:
 	rm -f *.o ../*.so
+	rm -f ./*/*.o ./*/*/*.o
 	rm Makefile.depends
 
 .PHONY: all clean