From 289212c713f90ecc6872e738483b9321025347ce Mon Sep 17 00:00:00 2001 From: Gene Cumm Date: Fri, 31 Jan 2014 07:59:30 -0500 Subject: 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 --- mk/efi.mk | 4 ++++ 1 file changed, 4 insertions(+) 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 $@ $< -- cgit v1.2.3