Sponsoring The Perl Toolchain Summit 2025: Help make this important event another success Learn more

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