From 4b9a9eb8d3ea95b5e804fece07c32b0f15d13c94 Mon Sep 17 00:00:00 2001 From: Tor Lillqvist Date: Sat, 13 May 2000 19:38:37 +0000 Subject: [PATCH] Small fixes to test progam build. --- glib/makefile.mingw.in | 13 ++++++++----- makefile.mingw.in | 13 ++++++++----- 2 files changed, 16 insertions(+), 10 deletions(-) diff --git a/glib/makefile.mingw.in b/glib/makefile.mingw.in index 7174781..9b750d4 100644 --- a/glib/makefile.mingw.in +++ b/glib/makefile.mingw.in @@ -98,21 +98,24 @@ gobject/gobject-$(GLIB_VER).dll : glib-$(GLIB_VER).dll ################ test progs +testglib.o : testglib.c + $(CC) -c $(CFLAGS) -DG_LOG_DOMAIN=\"testglib\" $< + testglib.exe : glib-$(GLIB_VER).dll testglib.o $(CC) $(CFLAGS) -o testglib testglib.o -L . -lglib-$(GLIB_VER) $(LDFLAGS) +testgdate.o : testgdate.c + $(CC) -c $(CFLAGS) -DG_LOG_DOMAIN=\"testgdate\" $< + testgdate.exe : glib-$(GLIB_VER).dll testgdate.o $(CC) $(CFLAGS) -o testgdate.exe testgdate.o -L . -lglib-$(GLIB_VER) $(LDFLAGS) -testgdate.o : testgdate.c - $(CC) -c $(CFLAGS) testgdate.c +testgdateparser.o : testgdateparser.c + $(CC) -c $(CFLAGS) -DG_LOG_DOMAIN=\"testgdateparser\" $< testgdateparser.exe : glib-$(GLIB_VER).dll testgdateparser.o $(CC) $(CFLAGS) -o testgdateparser.exe testgdateparser.o -L . -lglib-$(GLIB_VER) $(LDFLAGS) -testgdateparser.o : testgdateparser.c - $(CC) -c $(CFLAGS) testgdateparser.c - ################ other stuff diff --git a/makefile.mingw.in b/makefile.mingw.in index 7174781..9b750d4 100644 --- a/makefile.mingw.in +++ b/makefile.mingw.in @@ -98,21 +98,24 @@ gobject/gobject-$(GLIB_VER).dll : glib-$(GLIB_VER).dll ################ test progs +testglib.o : testglib.c + $(CC) -c $(CFLAGS) -DG_LOG_DOMAIN=\"testglib\" $< + testglib.exe : glib-$(GLIB_VER).dll testglib.o $(CC) $(CFLAGS) -o testglib testglib.o -L . -lglib-$(GLIB_VER) $(LDFLAGS) +testgdate.o : testgdate.c + $(CC) -c $(CFLAGS) -DG_LOG_DOMAIN=\"testgdate\" $< + testgdate.exe : glib-$(GLIB_VER).dll testgdate.o $(CC) $(CFLAGS) -o testgdate.exe testgdate.o -L . -lglib-$(GLIB_VER) $(LDFLAGS) -testgdate.o : testgdate.c - $(CC) -c $(CFLAGS) testgdate.c +testgdateparser.o : testgdateparser.c + $(CC) -c $(CFLAGS) -DG_LOG_DOMAIN=\"testgdateparser\" $< testgdateparser.exe : glib-$(GLIB_VER).dll testgdateparser.o $(CC) $(CFLAGS) -o testgdateparser.exe testgdateparser.o -L . -lglib-$(GLIB_VER) $(LDFLAGS) -testgdateparser.o : testgdateparser.c - $(CC) -c $(CFLAGS) testgdateparser.c - ################ other stuff -- 2.7.4