aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--mk/efi.mk4
1 files changed, 2 insertions, 2 deletions
diff --git a/mk/efi.mk b/mk/efi.mk
index 3390cfcd..f90ce5c5 100644
--- a/mk/efi.mk
+++ b/mk/efi.mk
@@ -55,11 +55,11 @@ $(LIBEFI):
%.o: %.c
.PRECIOUS: %.o
-%.o: %.S
+%.o: %.S $(LIBEFI)
$(CC) $(SFLAGS) -c -o $@ $<
.PRECIOUS: %.o
-%.o: %.c
+%.o: %.c $(LIBEFI)
$(CC) $(CFLAGS) -c -o $@ $<
#%.efi: %.so