changeset 372:52406e53f133

Make clean a dependency of distclean Makefile target.
author mas01cr
date Thu, 13 Nov 2008 15:31:54 +0000
parents 5eb5034b0577
children cd63493c32a9
files Makefile
diffstat 1 files changed, 1 insertions(+), 12 deletions(-) [+]
line wrap: on
line diff
--- a/Makefile	Thu Nov 13 12:54:15 2008 +0000
+++ b/Makefile	Thu Nov 13 15:31:54 2008 +0000
@@ -7,7 +7,6 @@
 GSOAP_INCLUDE=
 
 override CFLAGS+=-O3 -g -fPIC
-#override CFLAGS+=-ggdb -gstabs+ -g3
 
 ifeq ($(shell uname),Linux)
 override CFLAGS+=-D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64
@@ -75,18 +74,8 @@
 	-rm $(LIBRARY) audioDB_library.o
 	-rm tags
 
-dist_clean:
-	-rm cmdline.c cmdline.h
-	-rm soapServer.cpp soapClient.cpp soapC.cpp soapObject.h soapStub.h soapProxy.h soapH.h soapServerLib.cpp soapClientLib.cpp
-	-rm adb.*
-	-rm HELP.txt
-	-rm $(EXECUTABLE) $(EXECUTABLE).1 $(OBJS)
-	-rm xthresh
-	-sh -c "cd tests && sh ./clean.sh"
-	-sh -c "cd libtests && sh ./clean.sh"
-	-rm $(LIBRARY)
+distclean: clean
 	-rm *.o
-	-rm tags
 	-rm -rf audioDB.dump