diff --git a/docker-compile-and-run/Makefile b/docker-compile-and-run/Makefile index b7e0619c5ff0c823057185bffb12d3784b180f41..f3a7f3cd9dc625440e47ca7c65116989be341434 100644 --- a/docker-compile-and-run/Makefile +++ b/docker-compile-and-run/Makefile @@ -1,3 +1,9 @@ CXXFLAGS=-g -Wall -std=c++0x docker-compile-and-run: docker-compile-and-run.cpp + +install: + scp compile-and-run.sh wims@wimstest:other/bin + scp docker-compile-and-run.cpp wims@wimstest: + ssh wims@wimstest "g++ $(CXXFLAGS) docker-compile-and-run.cpp -o docker-compile-and-run; mv docker-compile-and-run other/bin; rm docker-compile-and-run.cpp" + ssh root@wimstest "chown wims:docker ~wims/other/bin/docker-compile-and-run; chmod 2755 ~wims/other/bin/docker-compile-and-run"