Commit ca004e50 authored by Marcus Meissner's avatar Marcus Meissner Committed by Alexandre Julliard

Check for necessary configure reruns for Makefile and Make.rules

generation.
parent 5b729dd6
......@@ -136,9 +136,13 @@ $(BUILD) checkbuild:
# Rule for main module
$(MODULE).o: $(OBJS)
$(MODULE).o: Makefile $(OBJS)
$(LDCOMBINE) $(OBJS) -o $(MODULE).o
Makefile: Makefile.in $(TOPSRCDIR)/configure
@echo Makefile is older than $?, please rerun $(TOPSRCDIR)/configure
@exit 1
# Rules for auto documentation
man: $(C_SRCS)
......
......@@ -140,10 +140,14 @@ LIB_TARGET = @LIB_TARGET@
ALT_LINK = @ALT_LINK@
all: $(MAIN_TARGET)
all: Makefile Make.rules $(MAIN_TARGET)
@MAKE_RULES@
Make.rules: Make.rules.in configure
@echo $? is newer than 'Make.rules', please rerun ./configure!
@exit 1
install:: install_$(MAIN_TARGET)
uninstall:: uninstall_$(MAIN_TARGET)
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment