diff options
author | Daniel Friesel <derf@finalrewind.org> | 2017-12-04 15:19:25 +0100 |
---|---|---|
committer | Daniel Friesel <derf@finalrewind.org> | 2017-12-04 15:19:25 +0100 |
commit | 7b5284023070b841293d0c5a6be0c6c345372cde (patch) | |
tree | 5f2c70451cf61ef6744813cac3a221cef210b213 /Makefile |
Add basic system: LED GPIO on MSP430FR5969 Launchpad and faked GPIO on POSIX
Diffstat (limited to 'Makefile')
-rw-r--r-- | Makefile | 21 |
1 files changed, 21 insertions, 0 deletions
diff --git a/Makefile b/Makefile new file mode 100644 index 0000000..bd82543 --- /dev/null +++ b/Makefile @@ -0,0 +1,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 |