sub.mk 244 Bytes
Newer Older
1 2 3 4 5 6
THIS_FILENAME = $(lastword $(MAKEFILE_LIST))
THIS_DIR = $(dir $(THIS_FILENAME))

all:
	$(MAKE) -C $(THIS_DIR) $(TARGETS)

7 8 9 10 11 12 13 14
ifneq ($(INSTALL_TARGETS),)
install:
	$(MAKE) -C $(THIS_DIR) $(INSTALL_TARGETS)
else:
install:
endif

.PHONY: all install