Project

General

Profile

« Previous | Next » 

Revision 874

inputs/Makefile: Fixed forwarding of empty targets to subdirs

View differences:

Makefile
2 2

  
3 3
# Make
4 4
pathParts = $(shell path="$(1)"; echo "$${path%%/*}" "$${path\#*/}")
5
topDir = $(firstword $(pathParts))
6
subPath = $(lastword $(pathParts))
5
topDir = $(word 1,$(pathParts))
6
subPath = $(word 2,$(pathParts))
7 7
subMake = $(MAKE) $(call subPath,$@) --directory=$(call topDir,$@) \
8 8
--makefile=../input.Makefile
9 9
# input.Makefile path is relative to subdir

Also available in: Unified diff