Advertisement
Guest User

Untitled

a guest
Jul 22nd, 2017
61
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.33 KB | None | 0 0
  1. edit: hello1 hello2 output1.txt output2.txt
  2. # C Version of "Hello World!"
  3. hello1: hello1.c
  4. cc hello1.c -o hello1
  5. # C++ Version of "Hello World!"
  6. hello2: hello2.cpp
  7. c++ hello2.cpp -o hello2
  8. # This will output hello1.c onto output1.txt
  9. output1.txt: hello1
  10. ./hello1 > output1.txt
  11. output2.txt: hello2
  12. ./hello2 > output2.txt
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement