summaryrefslogtreecommitdiff
path: root/tests/port
diff options
context:
space:
mode:
Diffstat (limited to 'tests/port')
-rw-r--r--tests/port/GNUmakefile7
1 files changed, 7 insertions, 0 deletions
diff --git a/tests/port/GNUmakefile b/tests/port/GNUmakefile
index af58e2f..0bb9f3d 100644
--- a/tests/port/GNUmakefile
+++ b/tests/port/GNUmakefile
@@ -16,6 +16,13 @@ TEST_BINS = \
-include $(TOPDIR)/makefiles/gmake/sub.mk
+# snprintf has some quirks, mainly -Wfloat-equal doesn't allow the
+# definition of ISNAN, ISINF, the C99 versions use math.h, ieee.h
+# libmath and more, which is maybe not really acceptable for a core
+# port (on the other hand so isn't NLS support!)
+test_snprintf.o : test_snprintf.c $(TOPDIR)/include/wolf/port/stdio.h $(TOPDIR)/src/port/snprintf.h $(TOPDIR)/src/port/snprintf.c
+ $(CC) -c -o $@ $(INCLUDE_DIRS) $<
+
local_all:
local_clean: