3 # This shell script creates a dependency file necessary for some compilers
4 # on the Windows 32-bit platform.
6 # If you run this script under non-Windows operating systems, expect
7 # warnings that `windows.h' can't be found.
10 # This dependency file to be used with various Windows compilers
11 # has been generated automatically with the script \`makedep' on
16 gcc -MM -I../lib/arch/win32 -I../lib -I../lib/extend -I. *.c | \
17 sed -e "s/\.o:/.obj:/" -e "s:/:\\\\:g") >> depend.win
19 echo "!ifndef __MAKE__" >> depend.win
22 gcc -MM -I../lib/arch/win32 -I../lib -I../lib/extend -I. \
24 sed -e "s/^\(.*\)\.o:/arch\\\\win32\\\\\1.obj:/" \
25 -e "s:/:\\\\:g") >> depend.win
27 echo "!endif" >> depend.win