From a875d13d024587b4b7bc88cc2d6d90aa488823a5 Mon Sep 17 00:00:00 2001 From: Steve Bennett Date: Wed, 12 Jun 2013 11:17:25 +1000 Subject: Don't remove _*.c files during build It can be easier for debugging if these files are left around. They are still deleted by make clean. Reported-By: Markus Mayer Signed-off-by: Steve Bennett --- Makefile.in | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/Makefile.in b/Makefile.in index 7aa0785..b477eb8 100644 --- a/Makefile.in +++ b/Makefile.in @@ -56,9 +56,8 @@ all: $(JIMSH) @C_EXT_SHOBJS@ # Create C extensions from pure Tcl extensions .SUFFIXES: .tcl .tcl.o: - @tclsh@ @srcdir@/make-c-ext.tcl $< >_$*.c || ( rm _$*.c; exit 1) - $(CC) $(CFLAGS) -c -o $@ _$*.c || ( rm _$*.c; exit 1) - @rm -f _$*.c + @tclsh@ @srcdir@/make-c-ext.tcl $< >_$*.c + $(CC) $(CFLAGS) -c -o $@ _$*.c docs: Tcl.html -- cgit v1.1