diff options
author | Matt Fleming <matt.fleming@intel.com> | 2012-10-19 16:49:05 +0100 |
---|---|---|
committer | Matt Fleming <matt.fleming@intel.com> | 2012-10-26 16:15:15 +0100 |
commit | d280f9d57e4ac5739a0841eef7ca3c1cc93fd8e3 (patch) | |
tree | 5d1001939f784cd040046e1c29afa29b189aa47b | |
parent | 9b6f8c8cfb405f5c4f1aa7a42cf9f7f077a51c45 (diff) | |
download | syslinux-d280f9d57e4ac5739a0841eef7ca3c1cc93fd8e3.tar.gz syslinux-d280f9d57e4ac5739a0841eef7ca3c1cc93fd8e3.tar.xz syslinux-d280f9d57e4ac5739a0841eef7ca3c1cc93fd8e3.zip |
Makefile: Only provide one make rule for each directory
Otherwise we end up with warnings like this,
Makefile:258: warning: overriding recipe for target `efi'
Makefile:253: warning: ignoring old recipe for target `efi'
Signed-off-by: Matt Fleming <matt.fleming@intel.com>
-rw-r--r-- | Makefile | 9 |
1 files changed, 1 insertions, 8 deletions
@@ -247,14 +247,7 @@ all-local: $(BTARGET) $(ITARGET) -ls -l $(BOBJECTS) $(IOBJECTS) subdirs: $(BSUBDIRS) $(ISUBDIRS) -# Note the double-colon which avoids the make warning about redefining -# a rule for libinstaller. -$(BSUBDIRS): - @mkdir -p $@ - $(MAKE) -C $@ SRC="$(SRC)/$@" OBJ="$(OBJ)/$@" \ - -f $(SRC)/$@/Makefile $(MAKECMDGOALS) - -$(ISUBDIRS): +$(sort $(ISUBDIRS) $(BSUBDIRS)): @mkdir -p $@ $(MAKE) -C $@ SRC="$(SRC)/$@" OBJ="$(OBJ)/$@" \ -f $(SRC)/$@/Makefile $(MAKECMDGOALS) |