1 2 3 4 5 6 7 8 9 10 11 12
## # 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