0133ee9316
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@992 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
19 lines
554 B
Plaintext
19 lines
554 B
Plaintext
depend::
|
|
@echo "$(CXX) -MM \
|
|
$(WX_INCLUDES) \
|
|
$(ADD_COMPILE) \
|
|
$(LIB_SRC) $(LIB_C_SRC) $(LIB_CPP_SRC) $(BIN_SRC) $(BIN2_SRC)"
|
|
@(cd .. ;\
|
|
$(CXX) -MM \
|
|
$(WX_INCLUDES) \
|
|
$(ADD_COMPILE) \
|
|
$(LIB_SRC) $(LIB_C_SRC) $(LIB_CPP_SRC) $(BIN_SRC) $(BIN2_SRC)\
|
|
) > .depend
|
|
@cp Makefile Makefile.bak
|
|
@cat Makefile.bak | sed -e '/^# DO NOT DELETE/q' > Makefile1
|
|
@echo "# DO NOT DELETE" >> Makefile1
|
|
@cat .depend | sed 's/^\(.\+\.o\ *:\ *\)\([^\ ]\+\/\)/\2\1\2/g' >> Makefile1
|
|
@mv Makefile1 Makefile
|
|
@rm .depend
|
|
|