You cannot select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

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