rename pdf

This commit is contained in:
Mylloon 2024-04-20 20:43:00 +02:00
parent 95478bf0f9
commit 1555f9d336
Signed by: Anri
GPG key ID: A82D63DFF8D1317F

View file

@ -15,8 +15,9 @@ LDFLAGS =
EXE = project EXE = project
EXE_EXT = .elf EXE_EXT = .elf
ARCHIVE = kennel ARCHIVE = nom1-nom2
PDF_DIR = report PDF_DIR = report
PDF_NEWNAME = Rapport de projet
%.o: src/%.c %.o: src/%.c
$(CC) -c $< -o $@ $(CFLAGS) $(CC) -c $< -o $@ $(CFLAGS)
@ -48,7 +49,7 @@ clean: pdf-clean
archive: pdf-make archive: pdf-make
$(MKDIR) "$(ARCHIVE)" $(MKDIR) "$(ARCHIVE)"
$(CP) "$(SRC_DIR)" "$(INC_DIR)" Makefile README \ $(CP) "$(SRC_DIR)" "$(INC_DIR)" Makefile README.md \
"$(wildcard $(PDF_DIR)/*.pdf)" "$(ARCHIVE)" "$(wildcard $(PDF_DIR)/*.pdf)" "$(ARCHIVE)"
$(TAR) "$(ARCHIVE).tar" "$(ARCHIVE)" $(TAR) "$(ARCHIVE).tar" "$(ARCHIVE)"
$(RM) "$(ARCHIVE)" $(RM) "$(ARCHIVE)"