diff options
author | John Mark Bell <jmb@netsurf-browser.org> | 2009-05-13 01:17:25 +0000 |
---|---|---|
committer | John Mark Bell <jmb@netsurf-browser.org> | 2009-05-13 01:17:25 +0000 |
commit | 42b6d78069fba7b44326114ded9e5c3232503fce (patch) | |
tree | 4975ad7ea2ebe5f3382b3fd802e2f0a8bacf9748 /Makefile | |
parent | bc5c97ffa4396988cc21bb6685f4f0453353cc0a (diff) | |
download | ttf2f-42b6d78069fba7b44326114ded9e5c3232503fce.tar.gz ttf2f-42b6d78069fba7b44326114ded9e5c3232503fce.tar.bz2 |
Port toolbox frontend to OSLib/OSLibSupport.
svn path=/trunk/tools/ttf2f/; revision=7491
Diffstat (limited to 'Makefile')
-rw-r--r-- | Makefile | 10 |
1 files changed, 9 insertions, 1 deletions
@@ -13,7 +13,7 @@ include build/makefiles/Makefile.tools # Toolchain flags WARNFLAGS := -Wall -Wextra -Wundef -Wpointer-arith -Wcast-align \ -Wwrite-strings -Wstrict-prototypes -Wmissing-prototypes \ - -Wmissing-declarations -Wnested-externs -Werror -pedantic + -Wmissing-declarations -Wnested-externs -Werror #-pedantic CFLAGS := $(CFLAGS) -std=c99 -D_BSD_SOURCE -I$(CURDIR)/include/ \ -I$(CURDIR)/src $(WARNFLAGS) -Dasm="__asm" @@ -28,6 +28,14 @@ ifneq ($(findstring clean,$(MAKECMDGOALS)),clean) endif endif +# OSLib (RISC OS target only) +ifneq ($(findstring clean,$(MAKECMDGOALS)),clean) + ifeq ($(TARGET),riscos) + CFLAGS := $(CFLAGS) -I$(PREFIX)/include + LDFLAGS := $(LDFLAGS) -lOSLib32 -lOSLibSupport32 + endif +endif + include build/makefiles/Makefile.top # Extra installation rules |