summaryrefslogtreecommitdiff
path: root/Makefile
blob: f3331ed4553fb721177fc344f6f51b108dbeb110 (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 = -LFreeRTOS -Larch -lFreeRTOS -larch

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