Makefile: clean up the lib directory on make clean

Signed-off-by: H. Peter Anvin <hpa@linux.intel.com>
This commit is contained in:
H. Peter Anvin 2010-04-21 16:40:38 -07:00
parent 900b2229e4
commit 34543131ca
4 changed files with 10 additions and 0 deletions

View file

@ -183,6 +183,7 @@ install: nasm$(X) ndisasm$(X)
clean:
$(RM) -f *.$(O) *.s *.i
$(RM) -f lib/*.$(O) lib/*.s lib/*.i
$(RM) -f output/*.$(O) output/*.s output/*.i
$(RM) -f nasm$(X) ndisasm$(X)
cd rdoff && $(MAKE) clean

View file

@ -134,6 +134,9 @@ clean:
-del /f *.$(O)
-del /f *.s
-del /f *.i
-del /f lib\*.$(O)
-del /f lib\*.s
-del /f lib\*.i
-del /f output\*.$(O)
-del /f output\*.s
-del /f output\*.i

View file

@ -161,6 +161,9 @@ clean: .SYMBOLIC
-del /f *.$(O)
-del /f *.s
-del /f *.i
-del /f lib\*.$(O)
-del /f lib\*.s
-del /f lib\*.i
-del /f output\*.$(O)
-del /f output\*.s
-del /f output\*.i

View file

@ -171,6 +171,9 @@ clean:
-rm -f *.$(O)
-rm -f *.s
-rm -f *.i
-rm -f lib/*.$(O)
-rm -f lib/*.s
-rm -f lib/*.i
-rm -f output/*.$(O)
-rm -f output/*.s
-rm -f output/*.i