3 # Copyright © 2022 Nick Bowler
5 # Fake C compiler for testing PE subsystem probes.
7 # License WTFPL2: Do What The Fuck You Want To Public License, version 2.
8 # This is free software: you are free to do what the fuck you want to.
9 # There is NO WARRANTY, to the extent permitted by law.
16 : "${TEST_GUI_FLAG=-mwindows}"
25 $TEST_GUI_FLAG) TEST_SUBSYS
=2 ;;
29 test x
"$infile" != x ||
exit
30 filebase
=`expr "$infile" : '\(.*\).c$'`
37 : "${outfile:=$filebase.obj}"
43 printf '\101\1\0\0%257s' ''
44 printf 'PE\0\0%20s' ''
46 printf "\\$TEST_SUBSYS\\0"