Check-in [013ffc32d5]
Overview
Comment:Corrected call to tcc configure
Timelines: family | ancestors | descendants | both | trunk
Files: files | file ages | folders
SHA1: 013ffc32d56bf363473068258b0500f82c5b7712
User & Date: rkeene on 2014-05-01 23:35:05
Other Links: manifest | tags
Context
2014-05-01
23:50
Wrapping some Tcl-specific changes to TCC into TclTCC check-in: d6a2d38950 user: rkeene tags: trunk
23:35
Corrected call to tcc configure check-in: 013ffc32d5 user: rkeene tags: trunk
23:32
Updated to build Tcc naively check-in: a319c993d9 user: rkeene tags: trunk
Changes

Modified Makefile.in from [87dfad392f] to [b9df3360bc].

    13     13   PACKAGE_INSTALL_DIR = $(TCL_PACKAGE_PATH)/$(PACKAGE_NAME)-$(PACKAGE_VERSION)
    14     14   TARGETS = @TARGETS@
    15     15   srcdir = @srcdir@
    16     16   
    17     17   all: $(TARGETS)
    18     18   
    19     19   tcc/config.h:
    20         -	if [ "$(srcdir)" = "." ]; then
    21         -		cd tcc && ./configure
    22         -	else
    23         -		mkdir tcc >/dev/null 2>/dev/null || true
    24         -		cd tcc && $(shell cd $(srcdir) && pwd)/tcc/configure
           20  +	if [ "$(srcdir)" = "." ]; then \
           21  +		cd tcc && ./configure; \
           22  +	else \
           23  +		mkdir tcc >/dev/null 2>/dev/null; \
           24  +		cd tcc && $(shell cd $(srcdir) && pwd)/tcc/configure; \
    25     25   	fi
    26     26   
    27     27   tcc/libtcc.a: tcc/config.h
    28     28   	$(MAKE) -C tcc libtcc.a
    29     29   
    30     30   tcltcc.o: $(srcdir)/tcltcc.c $(srcdir)/tcc/tcc.h $(srcdir)/tcc/libtcc.h tcc/config.h
    31     31   	$(CC) $(CPPFLAGS) $(CFLAGS) -o tcltcc.o -c $(srcdir)/tcltcc.c