From 42b6d78069fba7b44326114ded9e5c3232503fce Mon Sep 17 00:00:00 2001 From: John Mark Bell Date: Wed, 13 May 2009 01:17:25 +0000 Subject: Port toolbox frontend to OSLib/OSLibSupport. svn path=/trunk/tools/ttf2f/; revision=7491 --- Makefile | 10 +++++++++- 1 file changed, 9 insertions(+), 1 deletion(-) (limited to 'Makefile') diff --git a/Makefile b/Makefile index 1a3a387..4017938 100644 --- a/Makefile +++ b/Makefile @@ -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 -- cgit v1.2.3