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