aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorGene Cumm <gene.cumm@gmail.com>2014-01-31 07:59:30 -0500
committerGene Cumm <gene.cumm@gmail.com>2014-01-31 07:59:30 -0500
commit289212c713f90ecc6872e738483b9321025347ce (patch)
treee6cac3dfa3d3ba166be922fcd6bdbb78c6c598cd
parentca1dd2b30e2de7598fcac462ece568e865085d13 (diff)
downloadsyslinux-289212c713f90ecc6872e738483b9321025347ce.tar.gz
syslinux-289212c713f90ecc6872e738483b9321025347ce.tar.xz
syslinux-289212c713f90ecc6872e738483b9321025347ce.zip
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@gmail.com>
-rw-r--r--mk/efi.mk4
1 files changed, 4 insertions, 0 deletions
diff --git a/mk/efi.mk b/mk/efi.mk
index 9377637c..592a2357 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 $@ $<