diff options
author | Steve Bennett <steveb@workware.net.au> | 2013-06-12 11:17:25 +1000 |
---|---|---|
committer | Steve Bennett <steveb@workware.net.au> | 2013-06-12 11:17:25 +1000 |
commit | a875d13d024587b4b7bc88cc2d6d90aa488823a5 (patch) | |
tree | eeadd424fb8a182aa1409675bb6c91ca8735252b | |
parent | 15648ae52358a63e40859e1c5e6f2fa084b314d0 (diff) | |
download | jimtcl-a875d13d024587b4b7bc88cc2d6d90aa488823a5.zip jimtcl-a875d13d024587b4b7bc88cc2d6d90aa488823a5.tar.gz jimtcl-a875d13d024587b4b7bc88cc2d6d90aa488823a5.tar.bz2 |
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 <lotharlutz@gmx.de>
Signed-off-by: Steve Bennett <steveb@workware.net.au>
-rw-r--r-- | Makefile.in | 5 |
1 files 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 |