Make it possible again to compile the tests without installing GCC first
This commit is contained in:
parent
46624d640e
commit
4e95b347a7
|
@ -29,10 +29,10 @@ $(BIGOBJ):
|
||||||
$(CC) $(CFLAGS) -o $@ $@.c
|
$(CC) $(CFLAGS) -o $@ $@.c
|
||||||
|
|
||||||
$(GCCOBJ):
|
$(GCCOBJ):
|
||||||
which $(GCC) >/dev/null && $(GCC) $(CFLAGS-GCC) -o $@ ${@:S/-gcc//}.c
|
if which $(GCC) >/dev/null 2>&1; then $(GCC) $(CFLAGS-GCC) -o $@ ${@:S/-gcc//}.c; fi
|
||||||
|
|
||||||
$(GCCFPUOBJ):
|
$(GCCFPUOBJ):
|
||||||
which $(GCC) >/dev/null && $(GCC) $(CFLAGS-GCCFPU) -o $@ ${@:S/-gcc//}.c
|
if which $(GCC) >/dev/null 2>&1; then $(GCC) $(CFLAGS-GCCFPU) -o $@ ${@:S/-gcc//}.c; fi
|
||||||
|
|
||||||
$(ROOTOBJ):
|
$(ROOTOBJ):
|
||||||
$(CC) $(CFLAGS) $@.c
|
$(CC) $(CFLAGS) $@.c
|
||||||
|
@ -113,4 +113,4 @@ test54: test54.c
|
||||||
test55: test55.c
|
test55: test55.c
|
||||||
test56: test56.c
|
test56: test56.c
|
||||||
test57: test57.c test57loop.S
|
test57: test57.c test57loop.S
|
||||||
which $(GCC) >/dev/null && $(GCC) $(CFLAGS-GCC) -o $@ test57.c test57loop.S
|
if which $(GCC) >/dev/null 2>&1; then $(GCC) $(CFLAGS-GCC) -o $@ test57.c test57loop.S; fi
|
||||||
|
|
Loading…
Reference in a new issue