From 66832b4e231d69593a29084047b3ddff2cf93e9d Mon Sep 17 00:00:00 2001 From: Alberto Panu Date: Wed, 3 Jan 2024 21:31:46 +0100 Subject: [PATCH] Changed TARGET name from output to MYFILE_NAME --- usr/Makefile | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/usr/Makefile b/usr/Makefile index 7512f78..e373209 100644 --- a/usr/Makefile +++ b/usr/Makefile @@ -78,7 +78,8 @@ MYFILE ?= test.c MYFILE_NAME := $(shell $(BASENAME) $(MYFILE) .c) MYFILE_REL := $(DIR_OUTPUT)/$(MYFILE_NAME).rel # Target file -TARGET := output +# TARGET := output +TARGET := $(MYFILE_NAME) TARGET_FWLIB := $(DIR_OUTPUT)/$(FILE_HML_FWLIB) all: $(DIR_OUTPUT)/$(TARGET).hex @@ -149,4 +150,4 @@ rebuild: # [+] version .PHONY: version version: - @$(MAKE) -s -f Makefile.version \ No newline at end of file + @$(MAKE) -s -f Makefile.version