Skip to content

Instantly share code, notes, and snippets.

@enjalot
Created October 8, 2009 15:27
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save enjalot/205110 to your computer and use it in GitHub Desktop.
Save enjalot/205110 to your computer and use it in GitHub Desktop.
QUESTIONS = q1 q2
COMMAND=all
.PHONY: questions $(QUESTIONS) go clean first
questions: $(QUESTIONS)
$(QUESTIONS):
$(MAKE) -C $@ $(COMMAND) $(VARS)
first:
javac -d ./classes enj/*.java
all: first questions
go:
$(MAKE) questions "COMMAND=go" $(VARS)
clean:
$(MAKE) questions "COMMAND=clean" $(VARS)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment