27 lines
608 B
Makefile
27 lines
608 B
Makefile
SYNC = unison
|
|
MKDIR = mkdir -p
|
|
|
|
WINHOME = /mnt/c/Users/anri
|
|
WSLHOME = /home/anri
|
|
SMBMOUNT = $(WSLHOME)/deuxiemeSemestre
|
|
UNIVDIR = $(WSLHOME)/Univ
|
|
|
|
.PHONY: stage sys_tp anglais_sql gla_projet
|
|
|
|
main:
|
|
|
|
|
|
stage:
|
|
@$(MKDIR) $(UNIVDIR)/stage
|
|
@$(SYNC) $(SMBMOUNT)/stage/rapport $(UNIVDIR)/stage/rapport
|
|
@$(SYNC) $(SMBMOUNT)/stage/presentation $(UNIVDIR)/stage/presentation
|
|
|
|
TP_NUM = TP8
|
|
sys_tp:
|
|
@$(SYNC) $(SMBMOUNT)/prograSysAvancee/$(TP_NUM) $(UNIVDIR)/sys_tp
|
|
|
|
anglais_sql:
|
|
@$(SYNC) $(SMBMOUNT)/anglais/SQL $(UNIVDIR)/anglais_sql
|
|
|
|
gla_projet:
|
|
@$(SYNC) $(WINHOME)/Documents/gla $(UNIVDIR)/gla_projet
|