summaryrefslogtreecommitdiffstats
path: root/BaseTools/Source/C/Makefiles/footer.makefile
diff options
context:
space:
mode:
Diffstat (limited to 'BaseTools/Source/C/Makefiles/footer.makefile')
-rw-r--r--BaseTools/Source/C/Makefiles/footer.makefile4
1 files changed, 2 insertions, 2 deletions
diff --git a/BaseTools/Source/C/Makefiles/footer.makefile b/BaseTools/Source/C/Makefiles/footer.makefile
index e823246cfb..85c3374224 100644
--- a/BaseTools/Source/C/Makefiles/footer.makefile
+++ b/BaseTools/Source/C/Makefiles/footer.makefile
@@ -14,10 +14,10 @@ $(MAKEROOT)/libs-$(HOST_ARCH):
install: $(MAKEROOT)/libs-$(HOST_ARCH) $(LIBRARY)
cp $(LIBRARY) $(MAKEROOT)/libs-$(HOST_ARCH)
-$(LIBRARY): $(OBJECTS)
+$(LIBRARY): $(OBJECTS)
$(BUILD_AR) crs $@ $^
-%.o : %.c
+%.o : %.c
$(BUILD_CC) -c $(BUILD_CPPFLAGS) $(BUILD_CFLAGS) $< -o $@
%.o : %.cpp