[syslinux:master] mk/efi.mk: Cancel old rules
syslinux-bot for Gene Cumm
gene.cumm at gmail.com
Fri Jan 31 21:42:10 PST 2014
Commit-ID: 289212c713f90ecc6872e738483b9321025347ce
Gitweb: http://www.syslinux.org/commit/289212c713f90ecc6872e738483b9321025347ce
Author: Gene Cumm <gene.cumm at gmail.com>
AuthorDate: Fri, 31 Jan 2014 07:59:30 -0500
Committer: Gene Cumm <gene.cumm at gmail.com>
CommitDate: Fri, 31 Jan 2014 07:59:30 -0500
mk/efi.mk: Cancel old rules
If a dependency is added to the newer rules, make will choose the easier
rules instead of the preferred rules.
Signed-off-by: Gene Cumm <gene.cumm at gmail.com>
---
mk/efi.mk | 4 ++++
1 file changed, 4 insertions(+)
diff --git a/mk/efi.mk b/mk/efi.mk
index 9377637..592a235 100644
--- a/mk/efi.mk
+++ b/mk/efi.mk
@@ -50,6 +50,10 @@ SFLAGS = $(GCCOPT) $(GCCWARN) $(SARCHOPT) \
-nostdinc -iwithprefix include \
-I$(com32)/libutil/include -I$(com32)/include -I$(com32)/include/sys $(GPLINCLUDE)
+%.o: %.S # Cancel old rule
+
+%.o: %.c
+
.PRECIOUS: %.o
%.o: %.S
$(CC) $(SFLAGS) -c -o $@ $<
More information about the Syslinux-commits
mailing list