RISC-V/V203/hello/linux/clang.mk
2024-08-17 14:27:07 +02:00

11 lines
212 B
Makefile

# Use clang / binutils toolchain
CC = clang
CXX = clang++
LD = clang++
SIZE = size
DUMP = objdump
COPY = objcopy
CFLAGS+= -Oz
LFLAGS+= -Wl,--Map=$(@:%.elf=%.map),--gc-sections
LDLIBS+= -lc -lpthread -lasound