Fixed Makefile up-to-date check to avoid relinking all the object
files.
This commit is contained in:
parent
110b4c193c
commit
e66d4219ec
|
@ -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:
|
||||||
|
|
Loading…
Reference in New Issue