blob: 260f00508094018d5ca9c1b7315f380ce7447bab [file] [log] [blame]
# Extra rules for making DLLs for OS/2
%.def : %.c
echo "LIBRARY $* INITINSTANCE" > $@
echo "EXPORTS" >> $@
grep "^module .*=" $< | sed "s/module .* \(.*\) =/ \1/" >> $@