aboutsummaryrefslogtreecommitdiff
path: root/tinyprintf/Makefile
diff options
context:
space:
mode:
authorTrygve Laugstøl <trygvis@inamo.no>2017-01-25 22:24:18 +0100
committerTrygve Laugstøl <trygvis@inamo.no>2017-01-25 22:29:25 +0100
commit40e04e3772726829d66c12e69f24b03920d79c67 (patch)
tree636811bad956798c9d5d22de9e7ba8c799b8d791 /tinyprintf/Makefile
parent2fff65aed2477a503c72629d27e2a330d30c02d1 (diff)
downloadstm32f103-playground-40e04e3772726829d66c12e69f24b03920d79c67.tar.gz
stm32f103-playground-40e04e3772726829d66c12e69f24b03920d79c67.tar.bz2
stm32f103-playground-40e04e3772726829d66c12e69f24b03920d79c67.tar.xz
stm32f103-playground-40e04e3772726829d66c12e69f24b03920d79c67.zip
o Moving tinyprintf and stm libraries under thirdparty.
Diffstat (limited to 'tinyprintf/Makefile')
-rw-r--r--tinyprintf/Makefile39
1 files changed, 0 insertions, 39 deletions
diff --git a/tinyprintf/Makefile b/tinyprintf/Makefile
deleted file mode 100644
index 43adc13..0000000
--- a/tinyprintf/Makefile
+++ /dev/null
@@ -1,39 +0,0 @@
-
-CPPFLAGS+=-I.
-CFLAGS+=-Wall -W -Wextra -O3 -g
-# RUNNER:=valgrind
-
-.PHONY: all test tests compiletests runtests clean
-
-all: tests
-
-test tests: compiletests runtests
-
-runtests: test/printf test/sprintf
- set -x ; for prg in $^ ; do $(RUNNER) $$prg || exit $$? ; done
-
-compiletests:
- $(COMPILE.c) \
- -DTINYPRINTF_DEFINE_TFP_PRINTF=0 \
- -DTINYPRINTF_DEFINE_TFP_SPRINTF=0 \
- -DTINYPRINTF_OVERRIDE_LIBC=0 \
- -o tinyprintf_minimal.o tinyprintf.c
- $(COMPILE.c) \
- -DTINYPRINTF_DEFINE_TFP_PRINTF=1 \
- -DTINYPRINTF_DEFINE_TFP_SPRINTF=0 \
- -DTINYPRINTF_OVERRIDE_LIBC=0 \
- -o tinyprintf_only_tfp_printf.o tinyprintf.c
- $(COMPILE.c) \
- -DTINYPRINTF_DEFINE_TFP_PRINTF=0 \
- -DTINYPRINTF_DEFINE_TFP_SPRINTF=1 \
- -DTINYPRINTF_OVERRIDE_LIBC=0 \
- -o tinyprintf_only_tfp_sprintf.o tinyprintf.c
-
-test/printf: test/printf.o tinyprintf.o
- $(LINK.c) -o $@ $^
-
-test/sprintf: test/sprintf.o tinyprintf.o
- $(LINK.c) -o $@ $^
-
-clean:
- $(RM) *.o test/*.o *~ test/*~ test/printf test/sprintf