From 36a451d571f6af0b220e7cc43c6eb278fce88135 Mon Sep 17 00:00:00 2001 From: John Mark Bell Date: Fri, 8 May 2009 10:12:09 +0000 Subject: Build-time selectable frontend -- defaults to CLI. svn path=/trunk/tools/ttf2f/; revision=7438 --- src/Makefile | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) (limited to 'src/Makefile') diff --git a/src/Makefile b/src/Makefile index 0bd3fb2..2a26d4e 100644 --- a/src/Makefile +++ b/src/Makefile @@ -1,4 +1,10 @@ # Sources -DIR_SOURCES := cli.c encoding.c ft.c glyphs.c intmetrics.c outlines.c utils.c +DIR_SOURCES := encoding.c ft.c glyphs.c intmetrics.c outlines.c utils.c + +ifeq ($(FRONTEND),cli) +DIR_SOURCES := $(DIR_SOURCES) cli.c +else +DIR_SOURCES := $(DIR_SOURCES) toolbox.c +endif include build/makefiles/Makefile.subdir -- cgit v1.2.3