Revision 0f3306a56ebffc3140f662a0b87ab06b4e0363af authored by Emmanuele Bassi on 15 November 2016, 13:34:44 UTC, committed by Emmanuele Bassi on 15 November 2016, 13:34:44 UTC
Instead of copying strings around, we can box them using the g_ref_* API
and add reference counting to the char array.

Reference counted strings can be used with any string utility function.
1 parent 43ed42e
Raw File
makefile.msc
## 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
back to top