add explications
This commit is contained in:
parent
4564e76aa3
commit
1ac596769a
4 changed files with 64 additions and 8 deletions
20
Makefile
20
Makefile
|
@ -9,6 +9,9 @@ OBJETS = $(patsubst %.cpp,%.cpp.o,$(notdir $(SOURCES)))
|
|||
EXE = tp5
|
||||
EXE_EXT = out
|
||||
|
||||
PDF_LOCATION = report
|
||||
PDF_FILE = explications.pdf
|
||||
|
||||
%.cpp.o: src/%.cpp
|
||||
$(CXX) -c -o $@ $< $(CXXFLAGS) $(DEVFLAGS)
|
||||
|
||||
|
@ -25,10 +28,19 @@ compilation: $(OBJETS)
|
|||
all:
|
||||
main
|
||||
|
||||
clean:
|
||||
pdf-make:
|
||||
cd report && \
|
||||
$(MAKE)
|
||||
|
||||
pdf-clean:
|
||||
cd report && \
|
||||
$(MAKE) clean
|
||||
|
||||
clean: pdf-clean
|
||||
$(RM) $(OBJETS) $(EXE).$(EXE_EXT)
|
||||
|
||||
archive:
|
||||
archive: pdf-make
|
||||
cp $(PDF_LOCATION)/$(PDF_FILE) .
|
||||
$(TAR) "$(EXE).tar" $(SOURCES) $(wildcard includes/*.hpp) Makefile \
|
||||
binome.txt
|
||||
# diagramme_uml.* explications.pdf
|
||||
binome.txt $(PDF_FILE)
|
||||
# diagramme_uml.*
|
||||
|
|
5
report/.gitignore
vendored
Normal file
5
report/.gitignore
vendored
Normal file
|
@ -0,0 +1,5 @@
|
|||
*
|
||||
|
||||
!.gitignore
|
||||
!Makefile
|
||||
!*.tex
|
16
report/Makefile
Normal file
16
report/Makefile
Normal file
|
@ -0,0 +1,16 @@
|
|||
NAME = explications
|
||||
|
||||
TEX = $(NAME).tex
|
||||
SRC = $(TEX)
|
||||
PDF = $(TEX:.tex=.pdf)
|
||||
|
||||
TEXMK = latexmk -shell-escape -lualatex
|
||||
|
||||
all: $(PDF)
|
||||
|
||||
$(PDF): %.pdf: %.tex
|
||||
$(TEXMK) $<
|
||||
|
||||
EXTS = aux fdb_latexmk fls log nav out snm synctex.gz toc
|
||||
clean:
|
||||
rm -rf $(PDF) _minted-$(NAME)/ $(foreach ext,$(EXTS),$(NAME).$(ext))
|
23
report/explications.tex
Normal file
23
report/explications.tex
Normal file
|
@ -0,0 +1,23 @@
|
|||
\documentclass{article}
|
||||
|
||||
\usepackage[T1]{fontenc} % encoding
|
||||
\renewcommand{\familydefault}{\sfdefault} % sans-serif font
|
||||
|
||||
\usepackage[french]{babel} % langages
|
||||
\frenchsetup{SmallCapsFigTabCaptions=false}
|
||||
|
||||
\usepackage[hidelinks]{hyperref} % clickable links in table of contents
|
||||
|
||||
\title{Explications TP5}
|
||||
\author{Emma Botti et Anri Kennel\\Langages à objet avancés $\cdot$ Université Paris Cité}
|
||||
\date{Année universitaire 2023-2024}
|
||||
|
||||
\begin{document}
|
||||
\maketitle
|
||||
\tableofcontents
|
||||
\clearpage
|
||||
|
||||
\section{SECTION}
|
||||
Hello, world!
|
||||
|
||||
\end{document}
|
Reference in a new issue