summaryrefslogtreecommitdiff
path: root/Makefile
diff options
context:
space:
mode:
authorPixel <pixel@nobis-crew.org>2011-02-05 11:06:07 -0800
committerPixel <pixel@nobis-crew.org>2011-02-05 11:06:07 -0800
commit8b1fadd6a89f12cbc81c5d621a75b91dd9eedec2 (patch)
tree0b130b02101391e206c07cb0a1c9031bb4d27f21 /Makefile
parent4830af498e2d3a5440e65c63a3595b91f1cd4ac9 (diff)
Adding Sun's fdlibm, and libnix's scanf, tweaked to become an xscanf. Adding a few more libc inlined also.
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile14
1 files changed, 11 insertions, 3 deletions
diff --git a/Makefile b/Makefile
index 4c3e49b..6a4f3d4 100644
--- a/Makefile
+++ b/Makefile
@@ -1,5 +1,5 @@
TARGET = demo.bin
-LIBDEPS = FreeRTOS/libFreeRTOS.a arch/libarch.a os/libos.a libc/libc.a
+LIBDEPS = FreeRTOS/libFreeRTOS.a arch/libarch.a os/libos.a libc/libc.a libm/libm.a
LIBS = -Wl,--start-group $(LIBDEPS) -Wl,--end-group
TARGET_SRCS = test-romfs.o
@@ -15,17 +15,19 @@ clean: clean-generic
$(Q)$(MAKE) $(MAKE_OPTS) -C arch clean
$(Q)$(MAKE) $(MAKE_OPTS) -C os clean
$(Q)$(MAKE) $(MAKE_OPTS) -C libc clean
+ $(Q)$(MAKE) $(MAKE_OPTS) -C libm clean
$(Q)$(MAKE) $(MAKE_OPTS) -C tools clean
$(Q)rm -f test-romfs.bin
-.PHONY: libs FreeRTOS arch os libc tools deps
+.PHONY: libs FreeRTOS arch os libc libm tools deps
FreeRTOS/libFreeRTOS.a: FreeRTOS
arch/libarch.a: arch
os/libos.a: os
libc/libc.a: libc
+libm/libm/a: libm
-libs: FreeRTOS arch os libc
+libs: FreeRTOS arch os libc libm
FreeRTOS:
$(E) "[MAKE] Entering FreeRTOS"
@@ -43,6 +45,10 @@ libc:
$(E) "[MAKE] Entering libc"
$(Q)$(MAKE) $(MAKE_OPTS) -C libc
+libm:
+ $(E) "[MAKE] Entering libm"
+ $(Q)$(MAKE) $(MAKE_OPTS) -C libm
+
tools:
$(E) "[MAKE] Entering tools"
$(Q)$(MAKE) $(MAKE_OPTS) -C tools
@@ -62,6 +68,8 @@ deps: ldeps
$(Q)$(MAKE) $(MAKE_OPTS) -C os ldeps
$(E) "[DEPS] Creating dependency tree for libc"
$(Q)$(MAKE) $(MAKE_OPTS) -C libc ldeps
+ $(E) "[DEPS] Creating dependency tree for libm"
+ $(Q)$(MAKE) $(MAKE_OPTS) -C libm ldeps
include FreeRTOS/config.mk
include arch/config.mk