better clean ig
This commit is contained in:
parent
af2646e46e
commit
1ee2bc5603
1 changed files with 7 additions and 4 deletions
11
Makefile
11
Makefile
|
@ -12,6 +12,8 @@ EXE_EXT = out
|
|||
PDF_LOCATION = report
|
||||
PDF_FILE = explications.pdf
|
||||
|
||||
ARCHIVE = $(EXE).tar
|
||||
|
||||
%.cpp.o: src/%.cpp
|
||||
$(CXX) -c -o $@ $< $(CXXFLAGS) $(DEVFLAGS)
|
||||
|
||||
|
@ -37,10 +39,11 @@ pdf-clean:
|
|||
$(MAKE) clean
|
||||
|
||||
clean: pdf-clean
|
||||
$(RM) $(OBJETS) $(EXE).$(EXE_EXT)
|
||||
$(RM) $(OBJETS) "$(EXE).$(EXE_EXT)" "$(ARCHIVE)"
|
||||
|
||||
archive: pdf-make
|
||||
cp $(PDF_LOCATION)/$(PDF_FILE) .
|
||||
$(TAR) "$(EXE).tar" $(SOURCES) $(wildcard includes/*.hpp) Makefile \
|
||||
binome.txt $(PDF_FILE)
|
||||
cp "$(PDF_LOCATION)/$(PDF_FILE)" .
|
||||
$(TAR) "$(ARCHIVE)" $(SOURCES) $(wildcard includes/*.hpp) Makefile \
|
||||
binome.txt "$(PDF_FILE)"
|
||||
# diagramme_uml.*
|
||||
$(RM) "$(PDF_FILE)"
|
||||
|
|
Reference in a new issue