var name changes
This commit is contained in:
parent
1555f9d336
commit
bb9c4d5ec9
1 changed files with 8 additions and 8 deletions
|
@ -15,9 +15,9 @@ LDFLAGS =
|
||||||
EXE = project
|
EXE = project
|
||||||
EXE_EXT = .elf
|
EXE_EXT = .elf
|
||||||
|
|
||||||
ARCHIVE = nom1-nom2
|
ARCHIVE_NAME = nom1-nom2
|
||||||
PDF_DIR = report
|
PDF_DIR = report
|
||||||
PDF_NEWNAME = Rapport de projet
|
PDF_NEWNAME = Rapport de projet
|
||||||
|
|
||||||
%.o: src/%.c
|
%.o: src/%.c
|
||||||
$(CC) -c $< -o $@ $(CFLAGS)
|
$(CC) -c $< -o $@ $(CFLAGS)
|
||||||
|
@ -45,11 +45,11 @@ pdf-clean:
|
||||||
$(MAKE) clean
|
$(MAKE) clean
|
||||||
|
|
||||||
clean: pdf-clean
|
clean: pdf-clean
|
||||||
$(RM) $(OBJETS) "$(EXE)$(EXE_EXT)" "$(ARCHIVE).tar"
|
$(RM) $(OBJETS) "$(EXE)$(EXE_EXT)" "$(ARCHIVE_NAME).tar"
|
||||||
|
|
||||||
archive: pdf-make
|
archive: pdf-make
|
||||||
$(MKDIR) "$(ARCHIVE)"
|
$(MKDIR) "$(ARCHIVE_NAME)"
|
||||||
$(CP) "$(SRC_DIR)" "$(INC_DIR)" Makefile README.md \
|
$(CP) "$(SRC_DIR)" "$(INC_DIR)" Makefile README.md \
|
||||||
"$(wildcard $(PDF_DIR)/*.pdf)" "$(ARCHIVE)"
|
"$(wildcard $(PDF_DIR)/*.pdf)" "$(ARCHIVE_NAME)"
|
||||||
$(TAR) "$(ARCHIVE).tar" "$(ARCHIVE)"
|
$(TAR) "$(ARCHIVE_NAME).tar" "$(ARCHIVE_NAME)"
|
||||||
$(RM) "$(ARCHIVE)"
|
$(RM) "$(ARCHIVE_NAME)"
|
||||||
|
|
Loading…
Reference in a new issue