13 lines
224 B
Makefile
13 lines
224 B
Makefile
##
|
|
# A simple Makefile for building executables loadable by stmos.
|
|
#
|
|
|
|
ARCH = arm-stmos-
|
|
CC = gcc -mcpu=cortex-m4 -mthumb -fsigned-char
|
|
CFLAGS = -Os -fPIE
|
|
|
|
all:
|
|
@$(ARCH)$(CC) $(CFLAGS) init.c -o init
|
|
@arm-stmos-strip init
|
|
|