glib/tests/makefile.cygwin.in
Tor Lillqvist c4f0c6fd9b Add new functions. Add new object files. Add threadpool-test. No need to
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>
2000-05-01 21:13:02 +00:00

47 lines
894 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 -fnative-struct
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 \
strfunc-test.exe\
string-test.exe \
thread-test.exe \
threadpool-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) -lgthread-$(GLIB_VER)
check: all
@for P in $(TESTS) ; do echo $$P; ./$$P; done
clean:
-rm *.exe *.o