1 ## Makefile for building the GLib test programs with gcc for mingw.
2 ## Use: make -f makefile.mingw check
4 GLIB_VER = @GLIB_MAJOR_VERSION@.@GLIB_MINOR_VERSION@
8 include ../build/win32/make.mingw
10 ################################################################
12 # Nothing much configurable below
15 DEFINES = -DHAVE_CONFIG_H
38 makefile.mingw: makefile.mingw.in
39 sed -e 's,@GLIB[_]MAJOR_VERSION@,@GLIB_MAJOR_VERSION@,' \
40 -e 's,@GLIB[_]MINOR_VERSION@,@GLIB_MINOR_VERSION@,' <$< >$@
46 $(CC) $(CFLAGS) -o $@ $< -L .. -lglib-$(GLIB_VER) -L ../gthread -lgthread-$(GLIB_VER)
49 @for P in $(TESTS) ; do echo $$P; ./$$P; done
50 @echo All tests successful.