New Unix configure system

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@443 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
Robert Roebling
1998-08-06 16:18:34 +00:00
parent df9067d85c
commit a1a2adef07
55 changed files with 6002 additions and 185 deletions

View File

@@ -0,0 +1,18 @@
depend::
@echo "$(CXX) -MM \
$(WX_INCLUDES) \
$(ADD_COMPILE) \
$(LIB_SRC) $(BIN_SRC) $(BIN2_SRC)"
@(cd .. ;\
$(CXX) -MM \
$(WX_INCLUDES) \
$(ADD_COMPILE) \
$(LIB_SRC) $(BIN_SRC) $(BIN2_SRC)\
) > .depend
@cp Makefile Makefile.bak
@cat Makefile.bak | awk 'BEGIN { found=0;} { if ( $$0 == "# DO NOT DELETE") {found=1} ; { if ( found==0 ) { print $$0; } } }' > Makefile1
@echo "# DO NOT DELETE" >> Makefile1
@cat .depend >> Makefile1
@mv Makefile1 Makefile
@rm .depend