Skip to content

Instantly share code, notes, and snippets.

@andrewshadura
Forked from cjxgm/makefile
Last active August 29, 2015 14:16
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 andrewshadura/53d1922777d042d43698 to your computer and use it in GitHub Desktop.
Save andrewshadura/53d1922777d042d43698 to your computer and use it in GitHub Desktop.
.DEFAULT_GOAL := all
.PHONY: ${MAKECMDGOALS}
$(filter-out all,${MAKECMDGOALS}) all: .forward-all
@# no op
.forward-all:
${MAKE} -C build ${MAKECMDGOALS}
${MAKEFILE_LIST}: ;
.SUFFIXES:
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment