makefile.msc 589 Bytes
Newer Older
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

Hans Breuer's avatar
Hans Breuer committed
6 7
all : \
	config.h \
8
	glibconfig.h \
Hans Breuer's avatar
Hans Breuer committed
9
	sub-all
10

Hans Breuer's avatar
Hans Breuer committed
11
sub-all: 
12 13 14 15 16 17
	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
18

Hans Breuer's avatar
Hans Breuer committed
19 20
sub-one:
	@cd $(THIS)
21
	@nmake -nologo -f makefile.msc $(TARGET)
Hans Breuer's avatar
Hans Breuer committed
22
	@cd ..
23

24 25
config.h: config.h.win32
	copy config.h.win32 config.h
26 27 28

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