This commit is contained in:
Mylloon 2024-04-20 20:41:25 +02:00
parent 6fb51eb0fd
commit fb7eb7e6ae
Signed by: Anri
GPG key ID: A82D63DFF8D1317F
2 changed files with 7 additions and 4 deletions

View file

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

2
README
View file

@ -16,4 +16,6 @@ Lancement utilisant tous les cœurs disponibles :
Info
----
Le rapport se trouve dans le dossier courant.
Anri Kennel 22302653