summaryrefslogtreecommitdiff
path: root/makefile.msc
blob: 52e07f6ddd2cd73d2566880bba6fa28f4cbd80a3 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
## Makefile for building the GLib dlls with Microsoft C
## Use: nmake -f makefile.msc

PARTS = glib gmodule gthread gobject gio tests

all : \
	config.h \
	glibconfig.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

glibconfig.h: glibconfig.h.win32
	copy glibconfig.h.win32 glibconfig.h