Here is my makefile
#
# Automagically generated by Approximatrix Simply Fortran 2.11
#
FC="C:\Program Files\Simply Fortran 2\mingw-w64\bin\gfortran.exe"
CC="C:\Program Files\Simply Fortran 2\mingw-w64\bin\gcc.exe"
AR="C:\Program Files\Simply Fortran 2\mingw-w64\bin\ar.exe"
WRC="C:\PROGRA~1\SIMPLY~1\MINGW-~1\bin\windres.exe"
RM=rm -f
IDIR=-I"C:/Documents and Settings/Owner/Local Settings/Application Data///sfpm/32/include"
# -I error: Directory C:\Program Files\Simply Fortran 2\mingw-w64\include\ does not exist
LDIR=-L"C:/Program Files/Simply Fortran 2/mingw-w64/lib/" -L"C:/Documents and Settings/Owner/Local Settings/Application Data///sfpm/32/lib"
OPTFLAGS= -g
SPECIALFLAGS=-m32 $(IDIR)
RCFLAGS=-O coff -F pe-i386
PRJ_FFLAGS=
PRJ_CFLAGS=-mms-bitfields
PRJ_LFLAGS=-lgtk-3-fortran -lgtk-3.dll -lgdk-3.dll -lgthread-2.0.dll -lgdi32 -lole32 -latk-1.0.dll -lgdk_pixbuf-2.0.dll -lpangowin32-1.0.dll -lpango-1.0.dll -lcairo.dll -lcairo-gobject.dll -lgobject-2.0.dll -lgmodule-2.0.dll -lglib-2.0.dll -lintl.dll
FFLAGS=$(SPECIALFLAGS) $(OPTFLAGS) $(PRJ_FFLAGS) -Jmodules
CFLAGS=$(SPECIALFLAGS) $(OPTFLAGS) $(PRJ_CFLAGS)
"build\bazaar.o": "bazaar.f90"
@echo Compiling bazaar.f90
@$(FC) -c -o "build\bazaar.o" $(FFLAGS) "bazaar.f90"
"modules\my_widgets.mod" "modules\handlers.mod" : "build\bazaar.o" .EXISTSONLY
@echo Compiling bazaar.f90
@$(FC) -c -o "build\bazaar.o" $(FFLAGS) "bazaar.f90"
"build\cairo-basics-click.o": "cairo-basics-click.f90" "modules\handlers.mod"
@echo Compiling cairo-basics-click.f90
@$(FC) -c -o "build\cairo-basics-click.o" $(FFLAGS) "cairo-basics-click.f90"
"modules\handlers.mod" : "build\cairo-basics-click.o" .EXISTSONLY
@echo Compiling cairo-basics-click.f90
@$(FC) -c -o "build\cairo-basics-click.o" $(FFLAGS) "cairo-basics-click.f90"
"build\cairo-basics.o": "cairo-basics.f90" "modules\handlers.mod"
@echo Compiling cairo-basics.f90
@$(FC) -c -o "build\cairo-basics.o" $(FFLAGS) "cairo-basics.f90"
"modules\handlers.mod" : "build\cairo-basics.o" .EXISTSONLY
@echo Compiling cairo-basics.f90
@$(FC) -c -o "build\cairo-basics.o" $(FFLAGS) "cairo-basics.f90"
"build\cairo-tests.o": "cairo-tests.f90" "modules\handlers.mod"
@echo Compiling cairo-tests.f90
@$(FC) -c -o "build\cairo-tests.o" $(FFLAGS) "cairo-tests.f90"
"modules\handlers.mod" : "build\cairo-tests.o" .EXISTSONLY
@echo Compiling cairo-tests.f90
@$(FC) -c -o "build\cairo-tests.o" $(FFLAGS) "cairo-tests.f90"
"build\hl_assistant.o": "hl_assistant.f90"
@echo Compiling hl_assistant.f90
@$(FC) -c -o "build\hl_assistant.o" $(FFLAGS) "hl_assistant.f90"
"modules\as_handlers.mod" : "build\hl_assistant.o" .EXISTSONLY
@echo Compiling hl_assistant.f90
@$(FC) -c -o "build\hl_assistant.o" $(FFLAGS) "hl_assistant.f90"
"build\hl_cairo1.o": "hl_cairo1.f90" "modules\handlers.mod"
@echo Compiling hl_cairo1.f90
@$(FC) -c -o "build\hl_cairo1.o" $(FFLAGS) "hl_cairo1.f90"
"modules\handlers.mod" : "build\hl_cairo1.o" .EXISTSONLY
@echo Compiling hl_cairo1.f90
@$(FC) -c -o "build\hl_cairo1.o" $(FFLAGS) "hl_cairo1.f90"
"build\hl_cairo_clock.o": "hl_cairo_clock.f90"
@echo Compiling hl_cairo_clock.f90
@$(FC) -c -o "build\hl_cairo_clock.o" $(FFLAGS) "hl_cairo_clock.f90"
"modules\cl_handlers.mod" : "build\hl_cairo_clock.o" .EXISTSONLY
@echo Compiling hl_cairo_clock.f90
@$(FC) -c -o "build\hl_cairo_clock.o" $(FFLAGS) "hl_cairo_clock.f90"
"build\hl_choosers.o": "hl_choosers.f90" "modules\handlers.mod"
@echo Compiling hl_choosers.f90
@$(FC) -c -o "build\hl_choosers.o" $(FFLAGS) "hl_choosers.f90"
"modules\handlers.mod" : "build\hl_choosers.o" .EXISTSONLY
@echo Compiling hl_choosers.f90
@$(FC) -c -o "build\hl_choosers.o" $(FFLAGS) "hl_choosers.f90"
"build\hl_combo.o": "hl_combo.f90" "modules\handlers.mod"
@echo Compiling hl_combo.f90
@$(FC) -c -o "build\hl_combo.o" $(FFLAGS) "hl_combo.f90"
"modules\handlers.mod" : "build\hl_combo.o" .EXISTSONLY
@echo Compiling hl_combo.f90
@$(FC) -c -o "build\hl_combo.o" $(FFLAGS) "hl_combo.f90"
"build\hl_containers.o": "hl_containers.f90" "modules\handlers.mod"
@echo Compiling hl_containers.f90
@$(FC) -c -o "build\hl_containers.o" $(FFLAGS) "hl_containers.f90"
"modules\handlers.mod" : "build\hl_containers.o" .EXISTSONLY
@echo Compiling hl_containers.f90
@$(FC) -c -o "build\hl_containers.o" $(FFLAGS) "hl_containers.f90"
"build\hl_dialog.o": "hl_dialog.f90" "modules\handlers.mod"
@echo Compiling hl_dialog.f90
@$(FC) -c -o "build\hl_dialog.o" $(FFLAGS) "hl_dialog.f90"
"modules\handlers.mod" : "build\hl_dialog.o" .EXISTSONLY
@echo Compiling hl_dialog.f90
@$(FC) -c -o "build\hl_dialog.o" $(FFLAGS) "hl_dialog.f90"
"build\hl_infobar.o": "hl_infobar.f90"
@echo Compiling hl_infobar.f90
@$(FC) -c -o "build\hl_infobar.o" $(FFLAGS) "hl_infobar.f90"
"modules\ib_handers.mod" : "build\hl_infobar.o" .EXISTSONLY
@echo Compiling hl_infobar.f90
@$(FC) -c -o "build\hl_infobar.o" $(FFLAGS) "hl_infobar.f90"
"build\hl_list1.o": "hl_list1.f90"
@echo Compiling hl_list1.f90
@$(FC) -c -o "build\hl_list1.o" $(FFLAGS) "hl_list1.f90"
"modules\l1_handlers.mod" : "build\hl_list1.o" .EXISTSONLY
@echo Compiling hl_list1.f90
@$(FC) -c -o "build\hl_list1.o" $(FFLAGS) "hl_list1.f90"
"build\hl_list_n.o": "hl_list_n.f90" "modules\ln_handlers.mod"
@echo Compiling hl_list_n.f90
@$(FC) -c -o "build\hl_list_n.o" $(FFLAGS) "hl_list_n.f90"
"modules\ln_handlers.mod" : "build\hl_list_n.o" .EXISTSONLY
@echo Compiling hl_list_n.f90
@$(FC) -c -o "build\hl_list_n.o" $(FFLAGS) "hl_list_n.f90"
"build\hl_list_renderers.o": "hl_list_renderers.f90" "modules\ln_handlers.mod"
@echo Compiling hl_list_renderers.f90
@$(FC) -c -o "build\hl_list_renderers.o" $(FFLAGS) "hl_list_renderers.f90"
"modules\ln_handlers.mod" : "build\hl_list_renderers.o" .EXISTSONLY
@echo Compiling hl_list_renderers.f90
@$(FC) -c -o "build\hl_list_renderers.o" $(FFLAGS) "hl_list_renderers.f90"
"build\hl_menu.o": "hl_menu.f90" "modules\handlers.mod"
@echo Compiling hl_menu.f90
@$(FC) -c -o "build\hl_menu.o" $(FFLAGS) "hl_menu.f90"
"modules\handlers.mod" : "build\hl_menu.o" .EXISTSONLY
@echo Compiling hl_menu.f90
@$(FC) -c -o "build\hl_menu.o" $(FFLAGS) "hl_menu.f90"
"build\hl_pbar.o": "hl_pbar.f90" "modules\handlers.mod"
@echo Compiling hl_pbar.f90
@$(FC) -c -o "build\hl_pbar.o" $(FFLAGS) "hl_pbar.f90"
"modules\handlers.mod" : "build\hl_pbar.o" .EXISTSONLY
@echo Compiling hl_pbar.f90
@$(FC) -c -o "build\hl_pbar.o" $(FFLAGS) "hl_pbar.f90"
"build\hl_pbar_p.o": "hl_pbar_p.f90" "modules\handlers.mod"
@echo Compiling hl_pbar_p.f90
@$(FC) -c -o "build\hl_pbar_p.o" $(FFLAGS) "hl_pbar_p.f90"
"modules\handlers.mod" : "build\hl_pbar_p.o" .EXISTSONLY
@echo Compiling hl_pbar_p.f90
@$(FC) -c -o "build\hl_pbar_p.o" $(FFLAGS) "hl_pbar_p.f90"
"build\hl_radio.o": "hl_radio.f90"
@echo Compiling hl_radio.f90
@$(FC) -c -o "build\hl_radio.o" $(FFLAGS) "hl_radio.f90"
"modules\rb_handlers.mod" : "build\hl_radio.o" .EXISTSONLY
@echo Compiling hl_radio.f90
@$(FC) -c -o "build\hl_radio.o" $(FFLAGS) "hl_radio.f90"
"build\hl_sliders.o": "hl_sliders.f90" "modules\handlers.mod"
@echo Compiling hl_sliders.f90
@$(FC) -c -o "build\hl_sliders.o" $(FFLAGS) "hl_sliders.f90"
"modules\handlers.mod" : "build\hl_sliders.o" .EXISTSONLY
@echo Compiling hl_sliders.f90
@$(FC) -c -o "build\hl_sliders.o" $(FFLAGS) "hl_sliders.f90"
"build\hl_sliders2.o": "hl_sliders2.f90" "modules\handlers.mod"
@echo Compiling hl_sliders2.f90
@$(FC) -c -o "build\hl_sliders2.o" $(FFLAGS) "hl_sliders2.f90"
"modules\handlers.mod" : "build\hl_sliders2.o" .EXISTSONLY
@echo Compiling hl_sliders2.f90
@$(FC) -c -o "build\hl_sliders2.o" $(FFLAGS) "hl_sliders2.f90"
"build\hl_textview.o": "hl_textview.f90" "modules\handlers.mod"
@echo Compiling hl_textview.f90
@$(FC) -c -o "build\hl_textview.o" $(FFLAGS) "hl_textview.f90"
"modules\handlers.mod" : "build\hl_textview.o" .EXISTSONLY
@echo Compiling hl_textview.f90
@$(FC) -c -o "build\hl_textview.o" $(FFLAGS) "hl_textview.f90"
"build\hl_tree.o": "hl_tree.f90"
@echo Compiling hl_tree.f90
@$(FC) -c -o "build\hl_tree.o" $(FFLAGS) "hl_tree.f90"
"modules\tr_handlers.mod" : "build\hl_tree.o" .EXISTSONLY
@echo Compiling hl_tree.f90
@$(FC) -c -o "build\hl_tree.o" $(FFLAGS) "hl_tree.f90"
"build\julia_pixbuf.o": "julia_pixbuf.f90" "modules\handlers.mod"
@echo Compiling julia_pixbuf.f90
@$(FC) -c -o "build\julia_pixbuf.o" $(FFLAGS) "julia_pixbuf.f90"
"modules\global_widgets.mod" "modules\handlers.mod" : "build\julia_pixbuf.o" .EXISTSONLY
@echo Compiling julia_pixbuf.f90
@$(FC) -c -o "build\julia_pixbuf.o" $(FFLAGS) "julia_pixbuf.f90"
"build\list_demo.o": "list_demo.f90"
@echo Compiling list_demo.f90
@$(FC) -c -o "build\list_demo.o" $(FFLAGS) "list_demo.f90"
"build\mandelbrot.o": "mandelbrot.f90"
@echo Compiling mandelbrot.f90
@$(FC) -c -o "build\mandelbrot.o" $(FFLAGS) "mandelbrot.f90"
"build\mandelbrot_pixbuf.o": "mandelbrot_pixbuf.f90" "modules\handlers.mod"
@echo Compiling mandelbrot_pixbuf.f90
@$(FC) -c -o "build\mandelbrot_pixbuf.o" $(FFLAGS) "mandelbrot_pixbuf.f90"
"modules\handlers.mod" : "build\mandelbrot_pixbuf.o" .EXISTSONLY
@echo Compiling mandelbrot_pixbuf.f90
@$(FC) -c -o "build\mandelbrot_pixbuf.o" $(FFLAGS) "mandelbrot_pixbuf.f90"
"build\mandelbrot_pixbuf_zoom.o": "mandelbrot_pixbuf_zoom.f90" "modules\handlers.mod"
@echo Compiling mandelbrot_pixbuf_zoom.f90
@$(FC) -c -o "build\mandelbrot_pixbuf_zoom.o" $(FFLAGS) "mandelbrot_pixbuf_zoom.f90"
"modules\handlers.mod" : "build\mandelbrot_pixbuf_zoom.o" .EXISTSONLY
@echo Compiling mandelbrot_pixbuf_zoom.f90
@$(FC) -c -o "build\mandelbrot_pixbuf_zoom.o" $(FFLAGS) "mandelbrot_pixbuf_zoom.f90"
"build\menu.o": "menu.f90" "modules\handlers.mod"
@echo Compiling menu.f90
@$(FC) -c -o "build\menu.o" $(FFLAGS) "menu.f90"
"modules\handlers.mod" : "build\menu.o" .EXISTSONLY
@echo Compiling menu.f90
@$(FC) -c -o "build\menu.o" $(FFLAGS) "menu.f90"
"build\notebooks.o": "notebooks.f90" "modules\handlers.mod"
@echo Compiling notebooks.f90
@$(FC) -c -o "build\notebooks.o" $(FFLAGS) "notebooks.f90"
"modules\widgets.mod" "modules\handlers.mod" : "build\notebooks.o" .EXISTSONLY
@echo Compiling notebooks.f90
@$(FC) -c -o "build\notebooks.o" $(FFLAGS) "notebooks.f90"
"build\default_icon.res": ".\gtk.ico"
@echo Processing icon
@echo 1 ICON "./gtk.ico" |$(WRC) $(RCFLAGS) -o "build\default_icon.res"
clean: .SYMBOLIC
@echo Deleting build\bazaar.o and related files
@$(RM) "build\bazaar.o" "modules\my_widgets.mod" "modules\handlers.mod"
@echo Deleting build\cairo-basics-click.o and related files
@$(RM) "build\cairo-basics-click.o" "modules\handlers.mod"
@echo Deleting build\cairo-basics.o and related files
@$(RM) "build\cairo-basics.o" "modules\handlers.mod"
@echo Deleting build\cairo-tests.o and related files
@$(RM) "build\cairo-tests.o" "modules\handlers.mod"
@echo Deleting build\hl_assistant.o and related files
@$(RM) "build\hl_assistant.o" "modules\as_handlers.mod"
@echo Deleting build\hl_cairo1.o and related files
@$(RM) "build\hl_cairo1.o" "modules\handlers.mod"
@echo Deleting build\hl_cairo_clock.o and related files
@$(RM) "build\hl_cairo_clock.o" "modules\cl_handlers.mod"
@echo Deleting build\hl_choosers.o and related files
@$(RM) "build\hl_choosers.o" "modules\handlers.mod"
@echo Deleting build\hl_combo.o and related files
@$(RM) "build\hl_combo.o" "modules\handlers.mod"
@echo Deleting build\hl_containers.o and related files
@$(RM) "build\hl_containers.o" "modules\handlers.mod"
@echo Deleting build\hl_dialog.o and related files
@$(RM) "build\hl_dialog.o" "modules\handlers.mod"
@echo Deleting build\hl_infobar.o and related files
@$(RM) "build\hl_infobar.o" "modules\ib_handers.mod"
@echo Deleting build\hl_list1.o and related files
@$(RM) "build\hl_list1.o" "modules\l1_handlers.mod"
@echo Deleting build\hl_list_n.o and related files
@$(RM) "build\hl_list_n.o" "modules\ln_handlers.mod"
@echo Deleting build\hl_list_renderers.o and related files
@$(RM) "build\hl_list_renderers.o" "modules\ln_handlers.mod"
@echo Deleting build\hl_menu.o and related files
@$(RM) "build\hl_menu.o" "modules\handlers.mod"
@echo Deleting build\hl_pbar.o and related files
@$(RM) "build\hl_pbar.o" "modules\handlers.mod"
@echo Deleting build\hl_pbar_p.o and related files
@$(RM) "build\hl_pbar_p.o" "modules\handlers.mod"
@echo Deleting build\hl_radio.o and related files
@$(RM) "build\hl_radio.o" "modules\rb_handlers.mod"
@echo Deleting build\hl_sliders.o and related files
@$(RM) "build\hl_sliders.o" "modules\handlers.mod"
@echo Deleting build\hl_sliders2.o and related files
@$(RM) "build\hl_sliders2.o" "modules\handlers.mod"
@echo Deleting build\hl_textview.o and related files
@$(RM) "build\hl_textview.o" "modules\handlers.mod"
@echo Deleting build\hl_tree.o and related files
@$(RM) "build\hl_tree.o" "modules\tr_handlers.mod"
@echo Deleting build\julia_pixbuf.o and related files
@$(RM) "build\julia_pixbuf.o" "modules\global_widgets.mod" "modules\handlers.mod"
@echo Deleting build\list_demo.o and related files
@$(RM) "build\list_demo.o"
@echo Deleting build\mandelbrot.o and related files
@$(RM) "build\mandelbrot.o"
@echo Deleting build\mandelbrot_pixbuf.o and related files
@$(RM) "build\mandelbrot_pixbuf.o" "modules\handlers.mod"
@echo Deleting build\mandelbrot_pixbuf_zoom.o and related files
@$(RM) "build\mandelbrot_pixbuf_zoom.o" "modules\handlers.mod"
@echo Deleting build\menu.o and related files
@$(RM) "build\menu.o" "modules\handlers.mod"
@echo Deleting build\notebooks.o and related files
@$(RM) "build\notebooks.o" "modules\widgets.mod" "modules\handlers.mod"
@echo Deleting default icon resource
@$(RM) "build\default_icon.res"
@echo Deleting gtk-fortran-ex.exe
@$(RM) "gtk-fortran-ex.exe"
"gtk-fortran-ex.exe": "build\bazaar.o" "build\cairo-basics-click.o" "build\cairo-basics.o" "build\cairo-tests.o" "build\hl_assistant.o" "build\hl_cairo1.o" "build\hl_cairo_clock.o" "build\hl_choosers.o" "build\hl_combo.o" "build\hl_containers.o" "build\hl_dialog.o" "build\hl_infobar.o" "build\hl_list1.o" "build\hl_list_n.o" "build\hl_list_renderers.o" "build\hl_menu.o" "build\hl_pbar.o" "build\hl_pbar_p.o" "build\hl_radio.o" "build\hl_sliders.o" "build\hl_sliders2.o" "build\hl_textview.o" "build\hl_tree.o" "build\julia_pixbuf.o" "build\list_demo.o" "build\mandelbrot.o" "build\mandelbrot_pixbuf.o" "build\mandelbrot_pixbuf_zoom.o" "build\menu.o" "build\notebooks.o" "build\default_icon.res"
@echo Generating gtk-fortran-ex.exe
@$(FC) -o "gtk-fortran-ex.exe" -static -m32 -mwindows "build\bazaar.o" "build\cairo-basics-click.o" "build\cairo-basics.o" "build\cairo-tests.o" "build\hl_assistant.o" "build\hl_cairo1.o" "build\hl_cairo_clock.o" "build\hl_choosers.o" "build\hl_combo.o" "build\hl_containers.o" "build\hl_dialog.o" "build\hl_infobar.o" "build\hl_list1.o" "build\hl_list_n.o" "build\hl_list_renderers.o" "build\hl_menu.o" "build\hl_pbar.o" "build\hl_pbar_p.o" "build\hl_radio.o" "build\hl_sliders.o" "build\hl_sliders2.o" "build\hl_textview.o" "build\hl_tree.o" "build\julia_pixbuf.o" "build\list_demo.o" "build\mandelbrot.o" "build\mandelbrot_pixbuf.o" "build\mandelbrot_pixbuf_zoom.o" "build\menu.o" "build\notebooks.o" "build\default_icon.res" $(LDIR) $(PRJ_LFLAGS)
all: "gtk-fortran-ex.exe" .SYMBOLIC