mirror of
https://gitlab.gnome.org/GNOME/glib.git
synced 2024-12-25 15:06:14 +01:00
c4f0c6fd9b
2000-05-02 Tor Lillqvist <tml@iki.fi> * glib.def: Add new functions. * makefile.{cygwin,msc}.in (glib_OBJECTS): Add new object files. * tests/makefile.{cygwin,msc}.in: Add threadpool-test. * gmodule-win32.c: No need to include <psapi.h>
55 lines
1002 B
Plaintext
55 lines
1002 B
Plaintext
## Makefile for building the GLib test programs with Microsoft C
|
|
## Use: nmake -f makefile.msc check
|
|
|
|
################################################################
|
|
|
|
# Nothing much configurable below
|
|
|
|
# cl -? describes the options
|
|
CC = cl -G5 -GF -Ox -W3 -MD -nologo
|
|
|
|
# No general LDFLAGS needed
|
|
LDFLAGS = /link
|
|
|
|
GLIB_VER = @GLIB_MAJOR_VERSION@.@GLIB_MINOR_VERSION@
|
|
|
|
CFLAGS = -I.. -DHAVE_CONFIG_H
|
|
|
|
TESTS = \
|
|
array-test.exe \
|
|
date-test.exe \
|
|
dirname-test.exe\
|
|
hash-test.exe \
|
|
list-test.exe \
|
|
node-test.exe \
|
|
queue-test.exe \
|
|
rand-test.exe \
|
|
relation-test.exe\
|
|
slist-test.exe \
|
|
strfunc-test.exe\
|
|
string-test.exe \
|
|
thread-test.exe \
|
|
threadpool-test.exe\
|
|
tree-test.exe \
|
|
type-test.exe
|
|
|
|
all : $(TESTS)
|
|
|
|
.c.exe :
|
|
$(CC) $(CFLAGS) -c $<
|
|
$(CC) $(CFLAGS) -Fe$@ $< ..\glib-$(GLIB_VER).lib ..\gthread-$(GLIB_VER).lib $(LDFLAGS) /subsystem:console
|
|
|
|
check: all
|
|
for %p in ($(TESTS)) do %p
|
|
|
|
clean:
|
|
del *.exe
|
|
del *.obj
|
|
del *.dll
|
|
del *.lib
|
|
del *.err
|
|
del *.map
|
|
del *.sym
|
|
del *.exp
|
|
del *.pdb
|