Created
June 6, 2011 18:10
-
-
Save kagminjeong/1010745 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
.SUFFIXES: .in | |
.in: | |
echo $< to $@ | |
foo: dep | |
bar: dep | |
echo $< to $@ | |
test: test.in dep | |
echo $< to $@ | |
extra: extra.in dep |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
% touch foo.in bar.in a.in extra.in test.in dep | |
% make foo | |
% make bar | |
echo to bar | |
to bar | |
% make a | |
echo a.in to a | |
a.in to a | |
% make test | |
echo test.in to test | |
test.in to test | |
% make extra | |
echo extra.in to extra | |
extra.in to extra |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment