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

12 lines
212 B
Makefile
Raw Normal View History

2024-05-09 17:52:29 +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