diff --git a/Makefile b/Makefile index 1217adb..1232333 100644 --- a/Makefile +++ b/Makefile @@ -44,8 +44,12 @@ $(BIN): $(OBJS) $(DEPS) %.d: ; -sync: $(CODE) +sync: $(CODE) code/index.html rsync -av code/ pi@www.swiftcoder.nl:/var/www/html/cpp1/ + @for f in $(CODE) code/index.html ;\ + do \ + curl -nT $$f ftp://student.aii.avans.nl/doc/rpbpolis1/ ;\ + done clean: $(RM) $(OBJS) $(DEPS) $(BIN)