]> git.saurik.com Git - wxWidgets.git/blob - setup/rules/generic/depend
New way to grey out disabled toolbar icons.
[wxWidgets.git] / setup / rules / generic / depend
1 depend::
2 @echo "$(CXX) -MM \
3 $(WX_INCLUDES) \
4 $(ADD_COMPILE) \
5 $(LIB_SRC) $(LIB_C_SRC) $(LIB_CPP_SRC) $(BIN_SRC) $(BIN2_SRC)"
6 @(cd .. ;\
7 $(CXX) -MM \
8 $(WX_INCLUDES) \
9 $(ADD_COMPILE) \
10 $(LIB_SRC) $(LIB_C_SRC) $(LIB_CPP_SRC) $(BIN_SRC) $(BIN2_SRC)\
11 ) > .depend
12 @cp Makefile Makefile.bak
13 @cat Makefile.bak | sed -e '/^# DO NOT DELETE/q' > Makefile1
14 @echo "# DO NOT DELETE" >> Makefile1
15 @cat .depend | sed 's/^\(.\+\.o\ *:\ *\)\([^\ ]\+\/\)/\2\1\2/g' >> Makefile1
16 @mv Makefile1 Makefile
17 @rm .depend
18