summaryrefslogtreecommitdiff
path: root/makefile.msc
diff options
context:
space:
mode:
Diffstat (limited to 'makefile.msc')
-rw-r--r--makefile.msc24
1 files changed, 24 insertions, 0 deletions
diff --git a/makefile.msc b/makefile.msc
new file mode 100644
index 000000000..433c1f295
--- /dev/null
+++ b/makefile.msc
@@ -0,0 +1,24 @@
+## Makefile for building the GLib dlls with Microsoft C
+## Use: nmake -f makefile.msc
+
+PARTS = glib gmodule gthread gobject tests
+
+all : \
+ config.h \
+ sub-all
+
+sub-all:
+ for %d in ($(PARTS)) do nmake -nologo -f makefile.msc sub-one THIS=%d TARGET=all
+
+clean : sub-clean
+
+sub-clean:
+ for %d in ($(PARTS)) do nmake -nologo -f makefile.msc sub-one THIS=%d TARGET=clean
+
+sub-one:
+ @cd $(THIS)
+ @nmake -nologo -f makefile.msc $(TARGET)
+ @cd ..
+
+config.h: config.h.win32
+ copy config.h.win32 config.h