# Use gcc / binutils toolchain PREFIX = CC = $(PREFIX)gcc CXX = $(PREFIX)g++ LD = $(PREFIX)g++ SIZE = $(PREFIX)size DUMP = $(PREFIX)objdump COPY = $(PREFIX)objcopy CFLAGS+= -Os LFLAGS+= -Wl,--Map=$(@:%.elf=%.map),--gc-sections #LFLAGS+= -Wl,--print-sysroot -- chyba ld ? #LFLAGS+= -O3 LDLIBS+= -lc