aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--Makefile.common2
1 files changed, 1 insertions, 1 deletions
diff --git a/Makefile.common b/Makefile.common
index 7e10a67a0b..27acb8c9d2 100644
--- a/Makefile.common
+++ b/Makefile.common
@@ -93,7 +93,7 @@ CPPFLAGS:= $(DEFINES) $(INCLUDES)
# Make main.o depend on all other object files. This way if anything is
# changed, it causes main.cpp to be recompiled. This in turn ensures that
# the build date in gScummVMBuildDate is correct.
-base/main.o: $(OBJS)
+base/main.o: $(filter-out base/libbase.a,$(OBJS))
# The build rule for the ScummVM executable
scummvm$(EXEEXT): $(OBJS)