rvddt/examples/link/Makefile
2025-02-13 11:12:23 +00:00

18 lines
222 B
Makefile

PROG=app
all:: $(PROG).bin
$(PROG):: part1.o part2.o
$(LINK.c) $(LDFLAGS) -o $@ $^ $(LDLIBS)
$(SIZE) -x -A $@
clean::
rm -f $(PROG) *.o *.lst *.bin *.srec
TOP=..
include $(TOP)/Make.rules
LDFLAGS+=-Wl,--no-relax