more helpful example targets
This commit is contained in:
parent
9136450c6f
commit
295e00ec92
@ -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
|
||||
|
Loading…
x
Reference in New Issue
Block a user