1 # This is a test makefile for the str_test to check string attributes stuff
4 CFLAGS := -Wall $(shell pkg-config --cflags gobject-2.0 glib-2.0)
5 LDFLAGS := $(shell pkg-config --libs-only-other --libs-only-L \
7 LDLIBS := $(shell pkg-config --libs-only-l gobject-2.0 glib-2.0)
9 default: str.o str_test.o Makefile.str
10 gcc $(LDFLAGS) str.o str_test.o $(LDLIBS) -o str_test
15 str.o str_test.o: Makefile.str
18 rm -rf str.o str_test.o str.c str.h str-private.h str_test