From 61ab9feca59ab0bb367ea561804f63da6c6351f1 Mon Sep 17 00:00:00 2001 From: Fabian Vogt Date: Fri, 17 May 2024 21:28:33 +0200 Subject: [PATCH] zehn_loader: Include ldscript as dependency --- ndless-sdk/tools/zehn_loader/Makefile | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/ndless-sdk/tools/zehn_loader/Makefile b/ndless-sdk/tools/zehn_loader/Makefile index 0168b63..099da0b 100644 --- a/ndless-sdk/tools/zehn_loader/Makefile +++ b/ndless-sdk/tools/zehn_loader/Makefile @@ -7,11 +7,11 @@ ZLIB_CFLAGS := -Os -fPIE -ffunction-sections -fdata-sections -DNO_GZIP -ffreesta all: zehn_loader.tns zehn_loader_compressed.tns -zehn_loader_compressed.tns.elf: loader.cpp zlib/libz.a - $(GXX) $(GXXFLAGS) $^ -o $@ -DENABLE_ZLIB -lgcc +zehn_loader_compressed.tns.elf: ldscript loader.cpp zlib/libz.a + $(GXX) $(GXXFLAGS) loader.cpp zlib/libz.a -o $@ -DENABLE_ZLIB -lgcc -zehn_loader.tns.elf: loader.cpp - $(GXX) $(GXXFLAGS) $^ -o $@ +zehn_loader.tns.elf: ldscript loader.cpp + $(GXX) $(GXXFLAGS) loader.cpp -o $@ zehn_loade%.tns: zehn_loade%.tns.elf $(OBJCOPY) --set-section-flags .pad=alloc,load,contents -O binary $^ $@