From e66d4219ec7549089ef0f1bae9c8566970e00aaa Mon Sep 17 00:00:00 2001 From: Alexandre Julliard Date: Sun, 14 Mar 1999 15:22:29 +0000 Subject: [PATCH] Fixed Makefile up-to-date check to avoid relinking all the object files. --- Make.rules.in | 8 +++++--- 1 file changed, 5 insertions(+), 3 deletions(-) diff --git a/Make.rules.in b/Make.rules.in index 73acccbcbe..e101948748 100644 --- a/Make.rules.in +++ b/Make.rules.in @@ -136,13 +136,17 @@ $(BUILD) checkbuild: # Rule for main module -$(MODULE).o: Makefile $(OBJS) +$(MODULE).o: $(OBJS) $(LDCOMBINE) $(OBJS) -o $(MODULE).o +# Rules for makefile + Makefile: Makefile.in $(TOPSRCDIR)/configure @echo Makefile is older than $?, please rerun $(TOPSRCDIR)/configure @exit 1 +all: Makefile + # Rules for auto documentation man: $(C_SRCS) @@ -151,8 +155,6 @@ man: $(C_SRCS) html: $(C_SRCS) for i in $(C_SRCS); do $(C2MAN) -L -o $(TOPOBJDIR)/documentation/html -Th -iwindows.h $(DIVINCL) -D__WINE__ $(MANSPECS) $$i; done - - # Rule for linting lint: