%.___: %.c
	redir -i $< -oa init.c-tmp \
	  sed -n -e '/^_initialize_[a-z_0-9A-Z]* *(/s/^\([a-z_0-9A-Z]*\).*/  {extern void \1 (); \1 ();}/p'

init.c.start:
	echo.exe Making init.c
	echo.exe -o init.c-tmp '/* Do not modify this file.  */'
	redir -oa init.c-tmp echo.exe '/* It is created automatically by the Makefile.  */'
	redir -oa init.c-tmp echo.exe void initialize_all_files () {

stmp-initc: $(subst .o,.c,$(OBS) $(TSOBS))
	$(MAKE) stmp-initc.force
	touch stmp-initc

stmp-initc.force: init.c.start $(subst .o,.___,$(OBS) $(TSOBS))
	redir -oa init.c-tmp echo.exe }

init.c: stmp-initc
	update init.c-tmp init.c

