Remove duplication and have clean depend on libclean

This commit is contained in:
Richard Levitte 2003-02-22 15:04:06 +00:00
parent 0480574310
commit a1033894d7

View File

@ -589,10 +589,10 @@ Makefile.ssl: Makefile.org
@false @false
libclean: libclean:
rm -f *.a */lib */*/lib rm -f *.map *.so *.so.* engines/*.so *.a */lib */*/lib
clean: clean: libclean
rm -f shlib/*.o *.o core a.out fluff *.map rehash.time testlog make.log cctest cctest.c rm -f shlib/*.o *.o core a.out fluff rehash.time testlog make.log cctest cctest.c
@for i in $(DIRS) ;\ @for i in $(DIRS) ;\
do \ do \
if [ -d "$$i" ]; then \ if [ -d "$$i" ]; then \
@ -602,7 +602,7 @@ clean:
fi; \ fi; \
done; done;
rm -f openssl.pc rm -f openssl.pc
rm -f *.a *.o speed.* *.map *.so .pure core rm -f speed.* .pure
rm -f $(TARFILE) rm -f $(TARFILE)
@for i in $(ONEDIRS) ;\ @for i in $(ONEDIRS) ;\
do \ do \