From: EMC C. s. <cv...@cv...> - 2006-08-29 12:10:34
|
Modified file emc2/src/Makefile Full file: <http://cvs.linuxcnc.org/cvs/emc2/src/Makefile?rev=1.147> Difference: <http://cvs.linuxcnc.org/cvs/emc2/src/Makefile.diff?r1=1.146;r2=1.147> Branch: HEAD Log: revision 1.147 date: 2006/08/29 12:10:27; author: jepler; state: Exp; lines: +8 -4 re-run configure when it has changed --- Makefile 2006/08/26 13:21:24 1.146 +++ Makefile 2006/08/29 12:10:27 1.147 @@ -140,16 +140,20 @@ @mkdir -p $(dir $@) @$(CXX) -c $(CXXFLAGS) $(EXTRAFLAGS) $< -o $@ +config.status: configure + if [ -f config.status ]; then ./config.status --recheck; else ./configure --enable-run-in-place; fi + config.h: config.h.in config.status @./config.status -q --header=$@ -%: %.in config.status - @./config.status --file=$@ - -default: \ +INFILES = \ ../docs/man/man1/emc.1 ../scripts/emc ../scripts/realtime \ ../scripts/rtapi.conf Makefile.inc depend.sh Makefile.modinc \ ../tcl/emc.tcl +$(INFILES): %: %.in config.status + @./config.status --file=$@ + +default: $(INFILES) # For each file to be copied to ../include, its location in the source tree # is listed here. Note that due to $(INCLUDE), defined above, the include |