From 7b5284023070b841293d0c5a6be0c6c345372cde Mon Sep 17 00:00:00 2001 From: Daniel Friesel Date: Mon, 4 Dec 2017 15:19:25 +0100 Subject: Add basic system: LED GPIO on MSP430FR5969 Launchpad and faked GPIO on POSIX --- Makefile | 21 +++++++++++++++++++++ 1 file changed, 21 insertions(+) create mode 100644 Makefile (limited to 'Makefile') 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 -- cgit v1.2.3