Remove duplication and have clean depend on libclean
authorRichard Levitte <levitte@openssl.org>
Sat, 22 Feb 2003 15:04:03 +0000 (15:04 +0000)
committerRichard Levitte <levitte@openssl.org>
Sat, 22 Feb 2003 15:04:03 +0000 (15:04 +0000)
Makefile.org

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