summaryrefslogtreecommitdiff
path: root/Makefile
diff options
context:
space:
mode:
authorNicolas "Pixel" Noble <pixel@nobis-crew.org>2011-01-25 02:47:15 +0100
committerNicolas "Pixel" Noble <pixel@nobis-crew.org>2011-01-25 02:47:15 +0100
commitf66483699517a8c8e1b12bf52518c84d77a252f9 (patch)
treeadf0da78d67ac1116cbe59f13baa46cd62cdc047 /Makefile
parent5a597d99c4fa249ff2e097356ee709c3f9724640 (diff)
Adding copy of the mutable rom data into its position in ram, and fixing makefiles to have a proper dependency tree on the libraries.
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile7
1 files changed, 6 insertions, 1 deletions
diff --git a/Makefile b/Makefile
index 61db0a1..77c485d 100644
--- a/Makefile
+++ b/Makefile
@@ -1,5 +1,6 @@
TARGET = demo.bin
-LIBS = -Wl,--start-group -lc FreeRTOS/libFreeRTOS.a arch/libarch.a os/libos.a -Wl,--end-group
+LIBDEPS = FreeRTOS/libFreeRTOS.a arch/libarch.a os/libos.a
+LIBS = -Wl,--start-group -lc $(LIBDEPS) -Wl,--end-group
export ROOTDIR = $(CURDIR)
@@ -14,6 +15,10 @@ clean: clean-generic
.PHONY: libs FreeRTOS arch os
+FreeRTOS/libFreeRTOS.a: libs
+arch/libarch.a: libs
+os/libos.a: libs
+
libs: FreeRTOS arch os
FreeRTOS: