diff options
author | NIIBE Yutaka <gniibe@fsij.org> | 2013-05-22 16:46:45 +0900 |
---|---|---|
committer | NIIBE Yutaka <gniibe@fsij.org> | 2013-05-22 16:46:45 +0900 |
commit | 8880a8b1f9a738e9b1ab17712131279a3dfb6881 (patch) | |
tree | 1de56a2bae50bd755acc34aeac705c2b3c683345 /example-led/Makefile | |
parent | aa3fd9876abe2131d2ebda9a418ade6a4b89f72c (diff) |
add cdc example
Diffstat (limited to 'example-led/Makefile')
-rw-r--r-- | example-led/Makefile | 31 |
1 files changed, 31 insertions, 0 deletions
diff --git a/example-led/Makefile b/example-led/Makefile new file mode 100644 index 0000000..085d42b --- /dev/null +++ b/example-led/Makefile @@ -0,0 +1,31 @@ +# Makefile for example application of Chopstx + +PROJECT = sample + +CHOPSTX = .. +LDSCRIPT= sample.ld +CSRC = sys.c aes-constant-ft.c sample.c + +################################### +CROSS = arm-none-eabi- +CC = $(CROSS)gcc +LD = $(CROSS)gcc +OBJCOPY = $(CROSS)objcopy + +MCU = cortex-m3 +CWARN = -Wall -Wextra -Wstrict-prototypes +DEFS = -DFREE_STANDING +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 |