1 ## Makefile for building the GLib test programs with Microsoft C
\r
2 ## Use: nmake -f makefile.msc check
\r
4 ################################################################
\r
6 # Nothing much configurable below
\r
8 # cl -? describes the options
\r
9 CC = cl -G5 -GF -Ox -W3 -MD -nologo
\r
11 # No general LDFLAGS needed
\r
14 GLIB_VER = @GLIB_MAJOR_VERSION@.@GLIB_MINOR_VERSION@
\r
16 CFLAGS = -I.. -DHAVE_CONFIG_H
\r
34 $(CC) $(CFLAGS) -c $<
\r
35 $(CC) $(CFLAGS) -Fe$@ $< ..\glib-$(GLIB_VER).lib $(LDFLAGS) /subsystem:console
\r
38 for %p in ($(TESTS)) do %p
\r