summaryrefslogtreecommitdiff
path: root/example-fsm-55/Makefile
diff options
context:
space:
mode:
authorNIIBE Yutaka <gniibe@fsij.org>2015-04-20 14:17:40 +0900
committerNIIBE Yutaka <gniibe@fsij.org>2015-04-20 14:17:40 +0900
commitfc26cf08894e25f1ae1109c530b382d70babaf06 (patch)
tree23e9fdea71ac8c793c02621bf7d7935388ab4e01 /example-fsm-55/Makefile
parent18b38533f7f16074e986483cc357c310cc533a0f (diff)
parent7c022432d19351dfc9553585ea6614b47fcd0c06 (diff)
Version 0.05release/0.05
Merge branch 'cortex-m0-support'
Diffstat (limited to 'example-fsm-55/Makefile')
-rw-r--r--example-fsm-55/Makefile31
1 files changed, 31 insertions, 0 deletions
diff --git a/example-fsm-55/Makefile b/example-fsm-55/Makefile
new file mode 100644
index 0000000..755639c
--- /dev/null
+++ b/example-fsm-55/Makefile
@@ -0,0 +1,31 @@
+# Makefile for Hacker Emblem application of Chopstx
+
+PROJECT = hacker-emblem
+
+CHOPSTX = ..
+LDSCRIPT= hacker-emblem.ld
+CSRC = sys.c hacker-emblem.c
+
+###################################
+CROSS = arm-none-eabi-
+CC = $(CROSS)gcc
+LD = $(CROSS)gcc
+OBJCOPY = $(CROSS)objcopy
+
+MCU = cortex-m0 # -save-temps
+CWARN = -Wall -Wextra -Wstrict-prototypes
+DEFS = -DHAVE_SYS_H -DFREE_STANDING -DMHZ=48 -DUSE_WFI_FOR_IDLE
+OPT = -O3 -Os -g
+LIBS =
+
+####################
+include ../rules.mk
+
+board.h:
+ @echo Please make a symbolic link \'board.h\' to a file in ../board;
+ @exit 1
+
+sys.c: board.h
+
+distclean: clean
+ rm -f board.h