From bb9c4d5ec96f0d023106e315744fa01c44981c88 Mon Sep 17 00:00:00 2001 From: Mylloon Date: Sat, 20 Apr 2024 21:24:18 +0200 Subject: [PATCH] var name changes --- c_project_archive_report.mk | 16 ++++++++-------- 1 file changed, 8 insertions(+), 8 deletions(-) diff --git a/c_project_archive_report.mk b/c_project_archive_report.mk index 5f9bf0a..1b2100f 100644 --- a/c_project_archive_report.mk +++ b/c_project_archive_report.mk @@ -15,9 +15,9 @@ LDFLAGS = EXE = project EXE_EXT = .elf -ARCHIVE = nom1-nom2 -PDF_DIR = report -PDF_NEWNAME = Rapport de projet +ARCHIVE_NAME = nom1-nom2 +PDF_DIR = report +PDF_NEWNAME = Rapport de projet %.o: src/%.c $(CC) -c $< -o $@ $(CFLAGS) @@ -45,11 +45,11 @@ pdf-clean: $(MAKE) clean clean: pdf-clean - $(RM) $(OBJETS) "$(EXE)$(EXE_EXT)" "$(ARCHIVE).tar" + $(RM) $(OBJETS) "$(EXE)$(EXE_EXT)" "$(ARCHIVE_NAME).tar" archive: pdf-make - $(MKDIR) "$(ARCHIVE)" + $(MKDIR) "$(ARCHIVE_NAME)" $(CP) "$(SRC_DIR)" "$(INC_DIR)" Makefile README.md \ - "$(wildcard $(PDF_DIR)/*.pdf)" "$(ARCHIVE)" - $(TAR) "$(ARCHIVE).tar" "$(ARCHIVE)" - $(RM) "$(ARCHIVE)" + "$(wildcard $(PDF_DIR)/*.pdf)" "$(ARCHIVE_NAME)" + $(TAR) "$(ARCHIVE_NAME).tar" "$(ARCHIVE_NAME)" + $(RM) "$(ARCHIVE_NAME)"