diff --git a/c_project_archive_report.mk b/c_project_archive_report.mk index 238837a..40c6b58 100644 --- a/c_project_archive_report.mk +++ b/c_project_archive_report.mk @@ -16,6 +16,7 @@ EXE = project EXE_EXT = .elf ARCHIVE_NAME = nom1-nom2 +ARCHIVE_EXT = tar PDF_DIR = report PDF_NEWNAME = Rapport de projet @@ -45,11 +46,11 @@ pdf-clean: $(MAKE) clean clean: pdf-clean - $(RM) $(OBJETS) "$(EXE)$(EXE_EXT)" "$(ARCHIVE_NAME).tar" + $(RM) $(OBJETS) "$(EXE)$(EXE_EXT)" "$(ARCHIVE_NAME).$(ARCHIVE_EXT)" archive: pdf-make $(MKDIR) "$(ARCHIVE_NAME)" $(CP) "$(SRC_DIR)" "$(INC_DIR)" Makefile README.md \ "$(wildcard $(PDF_DIR)/*.pdf)" "$(ARCHIVE_NAME)" - $(TAR) "$(ARCHIVE_NAME).tar" "$(ARCHIVE_NAME)" + $(TAR) "$(ARCHIVE_NAME).$(ARCHIVE_EXT)" "$(ARCHIVE_NAME)" $(RM) "$(ARCHIVE_NAME)"