28 lines
620 B
Makefile
28 lines
620 B
Makefile
SYNC = unison
|
|
MKDIR = mkdir -p
|
|
|
|
HOME_WIN = /mnt/c/Users/anri
|
|
HOME_WSL = /home/anri
|
|
COURS_SMB = $(HOME_WSL)/deuxiemeSemestre
|
|
|
|
UNIV = $(HOME_WSL)/Univ
|
|
|
|
|
|
.PHONY: stage sys_tp anglais_sql gla_projet
|
|
|
|
main:
|
|
|
|
stage:
|
|
@$(MKDIR) "$(UNIV)/stage"
|
|
@$(SYNC) "$(COURS_SMB)/stage/rapport" "$(UNIV)/stage/rapport"
|
|
@$(SYNC) "$(COURS_SMB)/stage/presentation" "$(UNIV)/stage/presentation"
|
|
|
|
TP_NUM = TP10
|
|
sys_tp:
|
|
@$(SYNC) "$(COURS_SMB)/prograSysAvancee/$(TP_NUM)" "$(UNIV)/sys_tp"
|
|
|
|
anglais_sql:
|
|
@$(SYNC) "$(COURS_SMB)/anglais/SQL" "$(UNIV)/anglais_sql"
|
|
|
|
gla_projet:
|
|
@$(SYNC) "$(HOME_WIN)/Documents/gla" "$(UNIV)/gla_projet"
|