Skip to content

Instantly share code, notes, and snippets.

@rocky
Created July 23, 2015 14:02
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 rocky/2bf8ee0000a1efd53929 to your computer and use it in GitHub Desktop.
Save rocky/2bf8ee0000a1efd53929 to your computer and use it in GitHub Desktop.
remake test for step/next inside a recursive make
.PHONY: done all
# Example to test the ability of step/next to
# step into a recursive make or not.
$(info MAKEFLAGS = $(MAKEFLAGS))
$(info MFLAGS = $(MFLAGS))
all:
$(MAKE) done -f Makefile-step-next.mk
done:
@echo "in done: MAKEFLAGS is $(MAKEFLAGS)"
@echo "in done: MFLAGS is $(MFLAGS)"
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment