From: John Tytgat Date: Sun, 9 Mar 2008 15:21:53 +0000 (-0000) Subject: Make it easier compilable in GCCSDK4's Autobuilder X-Git-Url: https://gitweb.michael.orlitzky.com/?a=commitdiff_plain;h=77eaa3c8caf677ae5a676cf3220bf1b3cdf2076b;p=libsvgtiny.git Make it easier compilable in GCCSDK4's Autobuilder svn path=/trunk/libsvgtiny/; revision=3906 --- 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