From: Tor Lillqvist Date: Sat, 13 May 2000 19:38:37 +0000 (+0000) Subject: Small fixes to test progam build. X-Git-Tag: GLIB_1_3_1~35 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=4b9a9eb8d3ea95b5e804fece07c32b0f15d13c94;p=platform%2Fupstream%2Fglib.git Small fixes to test progam build. --- 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