Fixed Makefile up-to-date check to avoid relinking all the object

files.
This commit is contained in:
Alexandre Julliard 1999-03-14 15:22:29 +00:00
parent 110b4c193c
commit e66d4219ec

View File

@ -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: