Created
February 18, 2009 00:41
-
-
Save ap/66108 to your computer and use it in GitHub Desktop.
Polyglot Makefile (embedding a Perl script)
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
# polyglot Makefile (embedding a Perl script) | |
output.txt: input.txt Makefile | |
perl -x Makefile $< > $@ | |
#!/usr/bin/perl | |
q-ignore: | |
-; | |
use strict; | |
# rest of Perl script; | |
# must be indented by a single tab; | |
# do not use blank lines in it |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment