diff --git a/examples/Makefile b/examples/Makefile index eaba13f..2488235 100644 --- a/examples/Makefile +++ b/examples/Makefile @@ -1,13 +1,22 @@ +plug: ex1_c ex2_c + cat ex1.txt + @make ex1_e + cat ex1.txt + echo "---" + cat ex2.cpp + @make ex2_e + cat ex2.cpp + +unplug: ex1_e ex2_e + ex1_c + ex2_c + ex1_e: ../plug -f ex1.txt -d hw 'hello world' -g hw - cat ex1.txt ex1_c: ../plug -f ex1.txt -u hw - cat ex1.txt ex2_e: ../plug -f ex2.cpp -d code ' puts(hello world);' -g code - cat ex2.cpp ex2_c: ../plug -f ex2.cpp -u code - cat ex2.cpp