From 01c82fe6ac4cf6ee644687cd82e45569858b4dd6 Mon Sep 17 00:00:00 2001 From: Thomas Bernard Date: Sat, 7 Jul 2018 11:33:17 +0200 Subject: [PATCH] fix "make clean" when not a git repository --- src/Makefile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/Makefile b/src/Makefile index 5651f866..2912fe3d 100644 --- a/src/Makefile +++ b/src/Makefile @@ -869,7 +869,7 @@ clean : $(DELCOMMAND) $(OBJ) $(DELCOMMAND) $(OBJDIR)/versiontag $(DELCOMMAND) $(BIN) - $(DELCOMMAND) recoil.c recoil.h + if [ -d ../3rdparty ] ; then $(DELCOMMAND) recoil.c recoil.h ; fi ifneq ($(PLATFORM),amiga-vbcc) # Linux installation of the program