summaryrefslogtreecommitdiff
path: root/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile13
1 files changed, 9 insertions, 4 deletions
diff --git a/Makefile b/Makefile
index 4fedaf0..78a1222 100644
--- a/Makefile
+++ b/Makefile
@@ -1,14 +1,16 @@
+TARGET = demo.bin
+LIBS = -LFreeRTOS -Larch -lFreeRTOS -larch
+
export ROOTDIR = $(CURDIR)
-include $(ROOTDIR)/common.mk
+include common.mk
-all: libs
+all: libs $(TARGET)
-clean:
+clean: clean-generic
$(MAKE) -C FreeRTOS clean
$(MAKE) -C arch clean
-
.PHONY: libs FreeRTOS arch
libs: FreeRTOS arch
@@ -19,3 +21,6 @@ FreeRTOS:
arch:
$(MAKE) -C arch
+include FreeRTOS/config.mk
+include arch/config.mk
+include target-rules.mk