reliant/hello/Makefile
Brooke Vibber 10745b0ae8 un-strip the sample binary :D
now the disassembly can include symbols
2026-01-05 12:53:00 -08:00

17 lines
188 B
Makefile

STRIP=riscv64-linux-gnu-strip
CC=riscv64-linux-musl-gcc
.FAKE: all clean test
all: hello
clean:
rm -f hello
hello: hello.c
$(CC) -static -O2 -o hello hello.c
test: hello
./hello