3
# This shell script creates a dependency file necessary for older compilers
4
# on the Windows 16-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/win16 -I../lib -I../lib/extend -I. \
18
sed -e "s/\.o:/.obj:/" -e "s:/:\\\\:g") >> depend.win
20
echo "!ifndef __MAKE__" >> depend.win
23
gcc -MM -I../lib/arch/win16 -I../lib -I../lib/extend -I. \
24
-DhInst -DhPrev arch/win16/*.c | \
25
sed -e "s/^\(.*\)\.o:/arch\\\\win16\\\\\1.obj:/" \
26
-e "s:/:\\\\:g") >> depend.win
28
echo "!endif" >> depend.win