jw-pkg/make/Makefile
Jan Lindemann f869b5aaca defs.mk: Define Q and use it in *.mk
Define Q ?= @, and replace @<command> in recipes by $(Q)<command>.
Meant to be overridden from the environment for debugging as in

  Q= make

Signed-off-by: Jan Lindemann <jan@janware.com>
2026-01-26 17:58:23 +01:00

23 lines
561 B
Makefile

TOPDIR = ..
CACHED_FILES := defs.mk projects.mk platform.mk Makefile
include $(TOPDIR)/make/proj.mk
include $(JWBDIR)/make/make.mk
ifneq ($(MAKECMDGOALS),install-links)
ifneq ($(MAKECMDGOALS),do-install-links)
include $(JWBDIR)/make/dirs.mk
endif
endif
include $(JWBDIR)/make/dev-utils.mk
all: cache-projects
clean: clean-cache-projects
ifeq ($(TARGET),mingw)
install: $(INSTALL_MAKEDIR)/winres.rc.tmpl
endif
grep-vars:
$(Q)sed '/^ *[A-Z]/!d; s/^[ ]*//g; s/[=+?:].*//g; s/[ ]*//g' *.mk | sort -u