Commits

mitar  committed 1b297b8

Improved make clean.

  • Participants
  • Parent commits 862fe0a

Comments (0)

Files changed (6)

File source/include/Makefile

 
 MODULENAME=INCLUDE
 include ../makefile.defs
-include makefile.deps
+-include makefile.deps
 
 $(OLD)/liborange_include.a:	$(INCLUDE_OBJECTS)
 	ar -r $(OLD)/liborange_include.a $(INCLUDE_OBJECTS)

File source/makefile.defs

 	-@mkdir -p obj > /dev/null
 
 cleantemp:
-	rm -rf obj/* ppp/* px/*
+	rm -rf obj ppp px makefile.deps

File source/orange/Makefile

 
 MODULENAME=ORANGE
 include ../makefile.defs
-include makefile.deps
+-include makefile.deps
 
 r_imports.jpp: r_imports.hpp
 	python ../pyxtract/jitlink_build.py R.so r_imports.hpp
-	ln -sf ppp/r_imports.jpp r_imports.jpp
 r_imports.ipp: r_imports.hpp
 	python ../pyxtract/jitlink_build.py R.so r_imports.hpp
-	ln -sf ppp/r_imports.ipp r_imports.ipp
 
 $(OLD)/orange.so:	ppp/stamp px/stamp $(ORANGE_OBJECTS)
 	$(LINKER) $(ORANGE_OBJECTS) $(LINKOPTIONS) -o $(OLD)/orange.so
 	cd $(OLD); pwd; ln -sf orange.so $(LIBRARY_FILE)
 
 clean:	cleantemp
+	rm -f r_imports.ipp r_imports.jpp
 	rm -f $(OLD)/orange.so $(OLD)/liborange.so $(OLD)/liborange.dylib

File source/orangene/Makefile

 
 MODULENAME=ORANGENE
 include ../makefile.defs
-include makefile.deps
+-include makefile.deps
 
 $(OLD)/orangene.so:	ppp/stamp px/stamp $(ORANGENE_OBJECTS)
 	$(LINKER) $(ORANGENE_OBJECTS) $(LINKOPTIONS) -o $(OLD)/orangene.so

File source/orangeom/Makefile

 
 MODULENAME=ORANGEOM
 include ../makefile.defs
-include makefile.deps
+-include makefile.deps
 
 obj/som_datafile.o : som/datafile.c
 obj/som_lvq_pak.o : som/lvq_pak.c
 endif
 
 clean:	cleantemp
+	rm -f lib_vectors.cpp lib_vectors_auto.txt
 	rm -f $(OLD)/orangeom.so