1 ## Makefile for building the GDK DLL with Microsoft C
2 ## Use: nmake -f makefile.msc
4 # Location of the Wintab toolkit. Downloadable from http://www.pointing.com.
5 WTKIT = ..\..\..\wtkit126
7 ################################################################
9 # Nothing much configurable below
19 # cl -? describes the options
20 CC = cl -G5 -GF $(OPTIMIZE) -W3 -nologo
22 LDFLAGS = /link /machine:ix86 $(LINKDEBUG)
28 CFLAGS = -I. -I.. -I..\.. -I$(WTKIT)\include -I$(GLIB) -DG_ENABLE_DEBUG -DHAVE_CONFIG_H -DGDK_VERSION=\"$(GTK_VER)\"
40 gdkdrawable-win32.obj \
44 gdkglobals-win32.obj \
50 gdkproperty-win32.obj \
52 gdkselection-win32.obj \
57 ..\..\config.h : ..\..\config.h.win32
58 copy ..\..\config.h.win32 ..\..\config.h
61 rc -r -fo gdk.res rc\gdk.rc
63 gdk-win32.lib : $(gdk_win32_OBJECTS)
64 lib -out:gdk-win32.lib $(gdk_win32_OBJECTS)
67 $(CC) $(CFLAGS) -GD -c -DGDK_COMPILATION -DG_LOG_DOMAIN=\"Gdk\" $<