Welcome to ShenZhenJia Knowledge Sharing Community for programmer and developer-Open, Learning and Share
menu search
person
Welcome To Ask or Share your Answers For Others

Categories

I have a makefile on one computer, and I would like to use as a prerequisite a file on another computer that I can connect via ssh (but I am not an administrator). For instance, in this case, make print_hello runs only if the file on the other computer has changed since the last time print_hello ran.

print_hello: res@another_pc:/path_to_file
     echo "hello"
     touch print_hello

Is something like this possible?

question from:https://stackoverflow.com/questions/65861913/makefile-with-prerequisite-on-another-computer

与恶龙缠斗过久,自身亦成为恶龙;凝视深渊过久,深渊将回以凝视…
thumb_up_alt 0 like thumb_down_alt 0 dislike
509 views
Welcome To Ask or Share your Answers For Others

1 Answer

Waitting for answers

与恶龙缠斗过久,自身亦成为恶龙;凝视深渊过久,深渊将回以凝视…
thumb_up_alt 0 like thumb_down_alt 0 dislike
Welcome to ShenZhenJia Knowledge Sharing Community for programmer and developer-Open, Learning and Share
...