diff options
Diffstat (limited to 'example-fsm-55/Makefile')
-rw-r--r-- | example-fsm-55/Makefile | 31 |
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 |