]> gitweb.michael.orlitzky.com - libsvgtiny.git/commitdiff
Make it easier compilable in GCCSDK4's Autobuilder
authorJohn Tytgat <joty@netsurf-browser.org>
Sun, 9 Mar 2008 15:21:53 +0000 (15:21 -0000)
committerJohn Tytgat <joty@netsurf-browser.org>
Sun, 9 Mar 2008 15:21:53 +0000 (15:21 -0000)
svn path=/trunk/libsvgtiny/; revision=3906

makefile

index 4273dab70fb5896bcb75d11f339de355a48564ba..817f906b10e0cbdab7e56fed0b947ebdfe529d18 100644 (file)
--- a/makefile
+++ b/makefile
@@ -18,12 +18,12 @@ INSTALL = install
 ifeq ($(TARGET),riscos)
 GCCSDK_INSTALL_CROSSBIN ?= /home/riscos/cross/bin
 GCCSDK_INSTALL_ENV ?= /home/riscos/env
-CC = $(GCCSDK_INSTALL_CROSSBIN)/gcc
-AR = $(GCCSDK_INSTALL_CROSSBIN)/ar
+CC ?= $(GCCSDK_INSTALL_CROSSBIN)/gcc
+AR ?= $(GCCSDK_INSTALL_CROSSBIN)/ar
 CFLAGS += -Driscos -mpoke-function-name -I$(GCCSDK_INSTALL_ENV)/include \
        -I$(GCCSDK_INSTALL_ENV)/include/libxml2
 LIBS = -L$(GCCSDK_INSTALL_ENV)/lib -lxml2 -lz
-EXEEXT = ,ff8
+EXEEXT ?= ,ff8
 PREFIX = $(GCCSDK_INSTALL_ENV)
 else
 CFLAGS += -g `xml2-config --cflags` -fgnu89-inline