glib/tests/makefile.msc
Tor Lillqvist fb55f0056e Mention the tests directory.
* README.win32: Mention the tests directory.

	* glib.def: Add the functions from grand.c.

	* glibconfig.h.win32: Add unsigned max values, and the format
 	strings.

	* makefile.msc: Add grand.

	* tests/{date-test,node-test}.c: Include <stdlib.h> for exit().

	* tests/makefile.msc: New file.
1999-04-13 21:05:08 +00:00

55 lines
927 B
Plaintext

## Makefile for building the GLib test programs with Microsoft C
## Use: nmake -f makefile.msc all
################################################################
# Nothing much configurable below
# cl -? described the options
CC = cl -G5 -GF -Ox -W3 -MD -nologo
# No general LDFLAGS needes
LDFLAGS = /link
INSTALL = copy
GLIB_VER = 1.3
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 \
stack-test.exe \
string-test.exe \
strfunc-test.exe\
tree-test.exe \
type-test.exe
all : $(TESTS)
.c.exe :
$(CC) $(CFLAGS) -c $<
$(CC) $(CFLAGS) -Fe$@ $< ..\glib-$(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