glib/tests/makefile.cygwin.in
Tor Lillqvist 2b688f549c New files, used to generate corresponding non-.in files when making a
* makefile.msc.in makefile.cygwin.in glibconfig.h.win32.in
 	config.h.win32.in tests/makefile.msc.in tests/makefile.cygwin.in:
 	New files, used to generate corresponding non-.in files when
 	making a dist. This is just so the version numbers will be kept in
 	synch automatically.

	* configure.in: Also substitute @GLIB_MAJOR_VERSION@,
 	@GLIB_MINOR_VERSION@, and @GLIB_INTERFACE_AGE@.

	* Makefile.am tests/Makefile.am: Also distribute makefile.cygwin.

	* gerror.c (g_on_error_query): On Win32, put up a MessageBox and
 	then exit.

	* glib.def: Add a couple of functions.
1999-05-06 17:33:15 +00:00

46 lines
833 B
Plaintext

## Makefile for building the GLib test programs with egcs on cygwin.
## Use: make -f makefile.cygwin check
OPTIMIZE = -g -O
################################################################
# Nothing much configurable below
CC = gcc -mno-cygwin -mpentium
GLIB_VER = @GLIB_MAJOR_VERSION@.@GLIB_MINOR_VERSION@
CFLAGS = $(OPTIMIZE) -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)
.SUFFIXES: .c .exe
.c.exe :
$(CC) $(CFLAGS) -c $<
$(CC) $(CFLAGS) -o $@ $< -L.. -lglib-$(GLIB_VER)
check: all
@for P in $(TESTS) ; do echo $$P; ./$$P; done
clean:
-rm *.exe *.o