From 06c764acafd2ab867d580b5ce2ed77d49cafcd40 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Markus=20Fr=C3=B6schle?= Date: Thu, 14 Feb 2013 09:07:40 +0000 Subject: [PATCH] updated Makefile comments --- BaS_gcc/Makefile | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/BaS_gcc/Makefile b/BaS_gcc/Makefile index c95be83..1e415e6 100644 --- a/BaS_gcc/Makefile +++ b/BaS_gcc/Makefile @@ -111,7 +111,7 @@ $(BASFLASH_EXEC): TARGET_ADDRESS=0x00020000 $(BASFLASH_EXEC): LDCFILE=basflash.lk $(BASFLASH_EXEC): MAPFILE=basflash.map -# the final link stage +# the final link stage (BaS in RAM and BaS in flash) $(FLASH_EXEC) $(RAM_EXEC): $(LIBBAS) $(LDCSRC) $(CPP) -P -DTARGET_ADDRESS=$(TARGET_ADDRESS) -DFORMAT=$(FORMAT) $(LDCSRC) -o $(LDCFILE) $(LD) --oformat $(FORMAT) -Map $(MAPFILE) --cref -T $(LDCFILE) -o $@ @@ -131,6 +131,7 @@ else objcopy -I srec -O elf32-big --alt-machine-code 4 $@ $@.elf endif +# (re)create library. Currently suboptimal because it rewrites the whole lib even if only a single object changed $(LIBBAS): $(OBJS) $(AR) rv $@ $(OBJS) $(RANLIB) $@