r8936: merged classic-tests into tests
[clsql.git] / Makefile.common
index a7f36a2247b5810265ef7b2e53a46844a32adb8d..c3aedeb5157a78f38ce53b9873d101b511d4aa5c 100644 (file)
@@ -5,6 +5,7 @@ all:
 clean:
        @rm -rf .bin
        @rm -f *.ufsl *.fsl *.fas *.x86f *.sparcf *.fasl 
+       @rm -f *.fasla8 *.fasla16 *.faslm8 *.faslm16 *.faslmt
        @rm -f *~ *.bak *.orig *.err \#*\# .#*
        @rm -f *.so *.a
        @rm -rf debian/cl-sql
@@ -13,4 +14,10 @@ ifneq ($(SUBDIRS)$(DOCSUBDIRS),)
                $(MAKE) -C $$i $@; done
 endif
 
+distclean: clean
+ifneq ($(SUBDIRS)$(DOCSUBDIRS),)
+       @set -e; for i in $(SUBDIRS) $(DOCSUBDIRS); do \
+               $(MAKE) -C $$i $@; done
+endif
+
 .SUFFIXES:            # No default suffixes