1 ## Makefile for building the GLib dlls with Microsoft C 2 ## Use: nmake -f makefile.msc 3 4 PARTS = glib gmodule gthread gobject gio tests 5 6 all : \ 7 config.h \ 8 glibconfig.h \ 9 sub-all 10 11 sub-all: 12 for %d in ($(PARTS)) do nmake -nologo -f makefile.msc sub-one THIS=%d TARGET=all 13 14 clean : sub-clean 15 16 sub-clean: 17 for %d in ($(PARTS)) do nmake -nologo -f makefile.msc sub-one THIS=%d TARGET=clean 18 19 sub-one: 20 @cd $(THIS) 21 @nmake -nologo -f makefile.msc $(TARGET) 22 @cd .. 23 24 config.h: config.h.win32 25 copy config.h.win32 config.h 26 27 glibconfig.h: glibconfig.h.win32 28 copy glibconfig.h.win32 glibconfig.h 29