small adjustments

This commit is contained in:
Mylloon 2024-03-15 12:19:51 +01:00
parent 1b24304b81
commit a44105cb5b
Signed by: Anri
GPG key ID: A82D63DFF8D1317F
2 changed files with 11 additions and 11 deletions

View file

@ -1,8 +1,8 @@
CC = gcc CC = gcc
RM = rm -r RM = rm -rf
TAR = tar -cf TAR = tar -cf
CP = cp -r CP = cp -r
MKDIR = mkdir -p MKDIR = mkdir -p
SRC_DIR = src SRC_DIR = src
INC_DIR = includes INC_DIR = includes
@ -40,11 +40,11 @@ pdf-make:
$(MAKE) $(MAKE)
pdf-clean: pdf-clean:
cd report && \ @cd report && \
$(MAKE) clean $(MAKE) clean
clean: pdf-clean clean: pdf-clean
-$(RM) $(OBJETS) "$(EXE).$(EXE_EXT)" "$(ARCHIVE).tar" $(RM) $(OBJETS) "$(EXE).$(EXE_EXT)" "$(ARCHIVE).tar"
archive: pdf-make archive: pdf-make
$(MKDIR) "$(ARCHIVE)" $(MKDIR) "$(ARCHIVE)"

View file

@ -1,8 +1,8 @@
NAME = document NAME = document
TEX = $(NAME).tex TEX = $(NAME).tex
SRC = $(TEX) SRC = $(TEX)
PDF = $(TEX:.tex=.pdf) PDF = $(TEX:.tex=.pdf)
TEXMK = latexmk -shell-escape -lualatex -interaction=nonstopmode TEXMK = latexmk -shell-escape -lualatex -interaction=nonstopmode