X-Git-Url: https://git.gag.com/?a=blobdiff_plain;f=as%2Fz80%2Fclean.mk;h=63bd306bc48b15df3b8165f6b84146f3855ca9dc;hb=d25410272593de279e84cf891961c535b8c7fc70;hp=5c2a90071f3c8ad2dbbc840becf162077385c36c;hpb=2ee35049f829fc523bab32504f31cfdef6745757;p=fw%2Fsdcc diff --git a/as/z80/clean.mk b/as/z80/clean.mk index 5c2a9007..63bd306b 100644 --- a/as/z80/clean.mk +++ b/as/z80/clean.mk @@ -1,15 +1,18 @@ # Deleting all files created by building the program # -------------------------------------------------- +include $(top_builddir)/Makefile.common + clean: rm -rf obj rm -f *core *[%~] *.[oa] rm -f .[a-z]*~ - rm -f $(PRJDIR)/as-z80 as-z80 + rm -f $(top_builddir)/bin/as-z80$(EXEEXT) as-z80$(EXEEXT) + rm -f $(top_builddir)/bin/as-gbz80$(EXEEXT) as-gbz80$(EXEEXT) # Deleting all files created by configuring or building the program # ----------------------------------------------------------------- distclean: clean - rm -f *.dep + rm -f Makefile *.dep # Like clean but some files may still exist