CFLAGS=-g -Wall `glib-config --cflags`
LIBS=`glib-config --libs`
LIBOBJS=gmain.o giounix.o giochannel.o

all: testmain

testmain: testmain.o $(LIBOBJS)
	$(CC) -o $@ testmain.o $(LIBOBJS) $(LIBS)

clean:
	rm -f *.o testmain *~
