summaryrefslogtreecommitdiff
path: root/tests
diff options
context:
space:
mode:
authorTor Lillqvist <tml@iki.fi>2001-03-18 19:54:01 +0000
committerTor Lillqvist <tml@src.gnome.org>2001-03-18 19:54:01 +0000
commit3bae8165cf778aed6c6fc99b013f8d762244e5bc (patch)
tree8c38781b62a3189a9d11b7a6724335c8cefc47ae /tests
parent45fb71949a0c0e27fe8d0948b345334f61a5c924 (diff)
Add braces to silence gcc -Wall.
2001-03-18 Tor Lillqvist <tml@iki.fi> * gspawn-win32.c (SETUP_DEBUG): Add braces to silence gcc -Wall. * gspawn-win32-helper.c (write_no_error): Remove unused function. * tests/makefile.mingw.in (module-test.exe): Add rules for building module-test. 2001-03-18 Tor Lillqvist <tml@iki.fi> * gobject.def: Correct some renamed functions.
Diffstat (limited to 'tests')
-rw-r--r--tests/makefile.mingw.in7
1 files changed, 7 insertions, 0 deletions
diff --git a/tests/makefile.mingw.in b/tests/makefile.mingw.in
index 7d6f7f828..ceef9cf13 100644
--- a/tests/makefile.mingw.in
+++ b/tests/makefile.mingw.in
@@ -52,6 +52,13 @@ endif
.c.exe:
$(CC) $(CFLAGS) -o $@ $< -L .. -lglib-$(GLIB_VER) -L ../gthread -lgthread-$(GLIB_VER)
+module-test.exe : module-test.o module-test.def
+ $(CC) $(CFLAGS) -Wl,--base-file,module-test.base -o module-test.exe module-test.o -L .. -lglib-$(GLIB_VER) -L . -lgmodule-$(GLIB_VER) $(LDFLAGS)
+ $(DLLTOOL) --base-file module-test.base --output-exp module-test.exp module-test.o
+ $(CC) $(CFLAGS) -Wl,--base-file,module-test.base,module-test.exp -o module-test.exe module-test.o -L .. -lglib-$(GLIB_VER) -L . -lgmodule-$(GLIB_VER) $(LDFLAGS)
+ $(DLLTOOL) --base-file module-test.base --output-exp module-test.exp module-test.o
+ $(CC) $(CFLAGS) -Wl,module-test.exp -o module-test.exe module-test.o -L .. -lglib-$(GLIB_VER) -L . -lgmodule-$(GLIB_VER) $(LDFLAGS)
+
check: all
@for P in $(TESTS) ; do echo $$P; ./$$P; done
@echo All tests successful.