Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Implement static pattern rules #55

Open
sjackman opened this issue Jan 18, 2018 · 0 comments
Open

Implement static pattern rules #55

sjackman opened this issue Jan 18, 2018 · 0 comments

Comments

@sjackman
Copy link
Contributor

See https://www.gnu.org/software/make/manual/html_node/Static-Usage.html
and https://www.gnu.org/software/make/manual/html_node/Static-versus-Implicit.html

all: foo.gz bar.gz

foo bar: %:
	date >$@

foo.gz bar.gz: %.gz: %
	gzip -k $<
❯❯❯ make -n
date >foo
gzip -k foo
date >bar
gzip -k bar
❯❯❯ biomake -n 2>&1 | head -n1
Exception: error(syntax_error(GNU makefile parse error at line 3 of file Makefile: foo bar: %:),_2270)
@ihh ihh changed the title Implement static pattern rules [feature request] Implement static pattern rules Jun 29, 2018
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants