X-Git-Url: https://mattmccutchen.net/mgear/mgear.git/blobdiff_plain/eeabaff8ca99bdbd0f3a9ce0e99cbea114c2af16..b811570b2cb4d27923b09d8b2e286dd234f5fab0:/demo/Makefile diff --git a/demo/Makefile b/demo/Makefile index 7eb0502..ff220b6 100644 --- a/demo/Makefile +++ b/demo/Makefile @@ -6,11 +6,11 @@ include mgear.mk all: -cmd-xgrep = grep 'X' '$<' >'$t' && echo "Hello world from xgrep" -$(call mg-define-rule,%.x,%,$(value cmd-xgrep)) +cmd-xgrep = grep 'X' '$<' >'$@' && echo "Hello world from xgrep" +$(call mg-define-rule,%.x,%,cmd-xgrep) -cmd-addheader = echo 'Header:' | cat - '$<' >'$t' -$(call mg-define-rule,%.h,%,$(value cmd-addheader)) +cmd-addheader = echo 'Header:' | cat - '$<' >'$@' +$(call mg-define-rule,%.h,%,cmd-addheader) # Testing obfuscation mainoid := $(newoid)