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
1 changed files with 5 additions and 3 deletions

View File

@ -136,13 +136,17 @@ $(BUILD) checkbuild:
# Rule for main module # Rule for main module
$(MODULE).o: Makefile $(OBJS) $(MODULE).o: $(OBJS)
$(LDCOMBINE) $(OBJS) -o $(MODULE).o $(LDCOMBINE) $(OBJS) -o $(MODULE).o
# Rules for makefile
Makefile: Makefile.in $(TOPSRCDIR)/configure Makefile: Makefile.in $(TOPSRCDIR)/configure
@echo Makefile is older than $?, please rerun $(TOPSRCDIR)/configure @echo Makefile is older than $?, please rerun $(TOPSRCDIR)/configure
@exit 1 @exit 1
all: Makefile
# Rules for auto documentation # Rules for auto documentation
man: $(C_SRCS) man: $(C_SRCS)
@ -151,8 +155,6 @@ man: $(C_SRCS)
html: $(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 for i in $(C_SRCS); do $(C2MAN) -L -o $(TOPOBJDIR)/documentation/html -Th -iwindows.h $(DIVINCL) -D__WINE__ $(MANSPECS) $$i; done
# Rule for linting # Rule for linting
lint: lint: