summaryrefslogtreecommitdiff
path: root/Makefile
blob: 8de95f8754bfe4c4250b738bfc03737deabbc88a (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
TARGET = demo.bin
LIBS = FreeRTOS/libFreeRTOS.a arch/libarch.a -lc os/libos.a

export ROOTDIR = $(CURDIR)

include common.mk

all: libs $(TARGET)

clean: clean-generic
	$(MAKE) -C FreeRTOS clean
	$(MAKE) -C arch clean
	$(MAKE) -C os clean

.PHONY: libs FreeRTOS arch os

libs: FreeRTOS arch os

FreeRTOS:
	$(MAKE) -C FreeRTOS

arch:
	$(MAKE) -C arch

os:
	$(MAKE) -C os

include FreeRTOS/config.mk
include arch/config.mk
include os/config.mk
include target-rules.mk