summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJohn Tytgat <joty@netsurf-browser.org>2008-03-09 15:21:53 (GMT)
committer John Tytgat <joty@netsurf-browser.org>2008-03-09 15:21:53 (GMT)
commit77eaa3c8caf677ae5a676cf3220bf1b3cdf2076b (patch)
tree4bf0d4ffff74e97ea4602332513d4d1935bcb5b7
parent280ad258f4d5e5688bd64d98c1ed8ebab903d178 (diff)
downloadlibsvgtiny-77eaa3c8caf677ae5a676cf3220bf1b3cdf2076b.tar.gz
libsvgtiny-77eaa3c8caf677ae5a676cf3220bf1b3cdf2076b.tar.bz2
Make it easier compilable in GCCSDK4's Autobuilder
svn path=/trunk/libsvgtiny/; revision=3906
-rw-r--r--makefile6
1 files changed, 3 insertions, 3 deletions
diff --git a/makefile b/makefile
index 4273dab..817f906 100644
--- 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