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
40 makefile.mingw: makefile.mingw.in
41 sed -e 's,@GLIB[_]MAJOR_VERSION@,@GLIB_MAJOR_VERSION@,' \
42 -e 's,@GLIB[_]MINOR_VERSION@,@GLIB_MINOR_VERSION@,' <$< >$@
48 $(CC) $(CFLAGS) -o $@ $< -L .. -lglib-$(GLIB_VER) -L ../gthread -lgthread-$(GLIB_VER)
51 @for P in $(TESTS) ; do echo $$P; ./$$P; done
52 @echo All tests successful.