summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--src/Makefile6
1 files changed, 5 insertions, 1 deletions
diff --git a/src/Makefile b/src/Makefile
index e8a7509..2c29500 100644
--- a/src/Makefile
+++ b/src/Makefile
@@ -1,7 +1,11 @@
# Sources
DIR_SOURCES := rufl_character_set_test.c rufl_decompose.c rufl_dump_state.c \
rufl_find.c rufl_init.c rufl_invalidate_cache.c \
- rufl_metrics.c rufl_paint.c rufl_quit.c strfuncs.c
+ rufl_metrics.c rufl_paint.c rufl_quit.c
+
+ifeq ($(toolchain),norcroft)
+ DIR_SOURCES := $(DIR_SOURCES) strfuncs.c
+endif
SOURCES := $(SOURCES) $(BUILDDIR)/rufl_glyph_map.c