From f5ca7f310773821007ffe2fb7e6ef7e79db277ea Mon Sep 17 00:00:00 2001 From: eschnett Date: Wed, 21 Aug 2013 17:35:28 +0000 Subject: Delete partially generated object files before recompiling git-svn-id: http://svn.cactuscode.org/arrangements/CactusUtils/Formaline/trunk@239 83718e91-0e4f-0410-abf4-91180603181f --- src/make.configuration.deps | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/make.configuration.deps b/src/make.configuration.deps index 64cc8fb..e3bd39c 100644 --- a/src/make.configuration.deps +++ b/src/make.configuration.deps @@ -182,6 +182,7 @@ $(TARBALL_DIR)/config-Cactus.ccldeps: $(TARBALL_DIR)/flesh-Cactus.o: $(TARBALL_DIR)/flesh-Cactus.c @echo "Creating Formaline tarball for the flesh" cd $(TARBALL_DIR) && \ + $(RM) -f $(^:%.c=%-????.o) && \ $(CC) $(CFLAGS) -c $(^:%.c=%-????.c) && \ $(CC) $(CFLAGS) -c $^ @@ -238,6 +239,7 @@ $(TARBALL_DIR)/flesh-Cactus.ccldeps: $(TARBALL_DIR)/thorn-%.o: $(TARBALL_DIR)/thorn-%.c @echo "Creating Formaline tarball for thorn $*" cd $(TARBALL_DIR) && \ + $(RM) -f $(patsubst $(TARBALL_DIR)/%, %, $(^:%.c=%-????.o)) && \ $(CC) $(CFLAGS) -c $(patsubst $(TARBALL_DIR)/%, %, $(^:%.c=%-????.c)) && \ $(CC) $(CFLAGS) -c $(patsubst $(TARBALL_DIR)/%, %, $^) -- cgit v1.2.3