Files
Centos-kernel-stream-9/makefile
T

17 lines
337 B
Makefile
Raw Normal View History

2019-07-22 18:03:53 -04:00
ifeq ($(filter rh-% rhg-%,$(MAKECMDGOALS)),)
include Makefile
endif
_OUTPUT := "."
# this section is needed in order to make O= to work
ifeq ("$(origin O)", "command line")
_OUTPUT := "$(abspath $(O))"
_EXTRA_ARGS := O=$(_OUTPUT)
endif
rh-%::
$(MAKE) -C redhat $(@) $(_EXTRA_ARGS)
rhg-%::
$(MAKE) -C redhat $(@) $(_EXTRA_ARGS)