summaryrefslogtreecommitdiff
path: root/Makefile
blob: bd82543e41f6db2090b86526965e798a4c88cf2a (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
default: build/system.elf

INCLUDES = -Iinclude
COMMON_FLAGS = -g -Os -Wall -Wextra -unused
CFLAGS = -std=c99
CXXFLAGS = -std=c++14

TARGETS = src/os/main.cc

ifeq (${arch}, msp430fr5969lp)
include src/arch/msp430fr5969lp/Makefile.inc
endif

ifeq (${arch}, posix)
include src/arch/posix/Makefile.inc
endif

clean: arch_clean
	rm -f build/system.elf

.PHONY: clean