X-Git-Url: https://git.gag.com/?a=blobdiff_plain;f=support%2Fmakebin%2Fclean.mk;h=715c0ae64940d22bfa00489f94fb9322a87581de;hb=c42e9051755428d14eb620abc9eda86d43479a1a;hp=dfe9fb2067442abb00bf8eb04de51f1b9591c0b5;hpb=5979bbd157a5f3cd8018aed666e4dd41a3e08edf;p=fw%2Fsdcc diff --git a/support/makebin/clean.mk b/support/makebin/clean.mk index dfe9fb20..715c0ae6 100644 --- a/support/makebin/clean.mk +++ b/support/makebin/clean.mk @@ -1,16 +1,14 @@ # Deleting all files created by building the program # -------------------------------------------------- -PRJDIR = ../.. - clean: rm -rf obj - rm -f *core *[%~] *.[oa] $(PRJDIR)/bin/makebin$(EXEEXT) + rm -f *core *[%~] *.[oa] $(top_builddir)bin/makebin$(EXEEXT) rm -f *.[a-z]*~ # 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