1 ## Makefile for building the GLib test programs with egcs on cygwin.
2 ## Use: make -f makefile.cygwin check
6 ################################################################
8 # Nothing much configurable below
10 CC = gcc -mno-cygwin -mpentium -fnative-struct
12 GLIB_VER = @GLIB_MAJOR_VERSION@.@GLIB_MINOR_VERSION@
14 CFLAGS = $(OPTIMIZE) -I.. -DHAVE_CONFIG_H
40 $(CC) $(CFLAGS) -o $@ $< -L.. -lglib-$(GLIB_VER) -lgthread-$(GLIB_VER)
43 @for P in $(TESTS) ; do echo $$P; ./$$P; done