Added bug cases. Added decent support for distclean
[fw/sdcc] / as / Makefile
index 2f583ad0d6ed5884afb36717be1635a62c962785..ff3e994bd92a79e2a7dae6e794714a9996a7d40f 100644 (file)
@@ -7,9 +7,6 @@ DOCS = README abstra.doc appendk.txt asmlnk.doc asxhtm.html format.txt
 all:
        $(MAKE) -C z80 _as-z80 _as-gbz80 E=$(E) BUILDDIR=../../bin/
 
-clean:
-       $(MAKE) -C z80 clean
-
 install: install-doc
        $(INSTALL) $(PRJDIR)/bin/as-z80 `echo $(bindir)/as-z80|sed '$(transform)'`
        $(STRIP) -s `echo $(bindir)/as-z80|sed '$(transform)'`
@@ -19,3 +16,5 @@ install: install-doc
 install-doc:
        $(INSTALL) -d $(docdir)/aslink
        cp -f `find doc -maxdepth 1 -not -type d` $(docdir)/aslink
+
+include clean.mk