11 lines
212 B
Makefile
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
|