23 lines
420 B
Makefile
23 lines
420 B
Makefile
|
NAME = TP1 - Groupe 4
|
||
|
CPP_NAME = C++
|
||
|
PROLOG_NAME = Prolog
|
||
|
|
||
|
TAR = tar czf
|
||
|
RM = rm
|
||
|
|
||
|
RAPPORT = Rapport/rapport.pdf
|
||
|
CPP = C-Cpp/
|
||
|
PROLOG = Prolog/*.pl
|
||
|
|
||
|
tgz-all:
|
||
|
$(TAR) "$(NAME).tar.gz" $(RAPPORT) $(CPP) $(PROLOG)
|
||
|
|
||
|
tgz-cpp:
|
||
|
$(TAR) "$(NAME) - $(CPP_NAME).tar.gz" $(RAPPORT) $(CPP)
|
||
|
|
||
|
tgz-prolog:
|
||
|
$(TAR) "$(NAME) - $(PROLOG_NAME).tar.gz" $(RAPPORT) $(PROLOG)
|
||
|
|
||
|
clean:
|
||
|
$(RM) *.tar.gz
|