small adjustments
This commit is contained in:
parent
1b24304b81
commit
a44105cb5b
2 changed files with 11 additions and 11 deletions
14
Makefile
14
Makefile
|
@ -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)"
|
||||||
|
|
|
@ -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
|
||||||
|
|
||||||
|
|
Reference in a new issue