X-Git-Url: https://git.gag.com/?a=blobdiff_plain;f=as%2Fz80%2Fclean.mk;h=579a48e57f0d62425fc9ac552844ab82edabadc2;hb=c42e9051755428d14eb620abc9eda86d43479a1a;hp=cf18deed5150603bc0f63c16b4fd8ddca81357df;hpb=5979bbd157a5f3cd8018aed666e4dd41a3e08edf;p=fw%2Fsdcc diff --git a/as/z80/clean.mk b/as/z80/clean.mk index cf18deed..579a48e5 100644 --- a/as/z80/clean.mk +++ b/as/z80/clean.mk @@ -1,18 +1,18 @@ # Deleting all files created by building the program # -------------------------------------------------- -include ../../Makefile.common +include $(top_builddir)Makefile.common clean: rm -rf obj rm -f *core *[%~] *.[oa] rm -f .[a-z]*~ - rm -f $(BUILDDIR)/as-z80$(EXEEXT) as-z80$(EXEEXT) - rm -f $(BUILDDIR)/as-gbz80$(EXEEXT) as-gbz80$(EXEEXT) + 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