RISC-V/V203/hello/linux/clang.mk

12 lines
212 B
Makefile
Raw Normal View History

2024-08-17 14:27:07 +02:00
# 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