summaryrefslogtreecommitdiff
path: root/src/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'src/Makefile')
-rw-r--r--src/Makefile8
1 files changed, 7 insertions, 1 deletions
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