1 VERSION=$(shell git describe)
2 MODULES=gtk+-2.0 libglade-2.0 gconf-2.0
3 INCLUDES=$(shell pkg-config --cflags $(MODULES)) -I..
4 WARN= -Wall -Wpointer-arith -Wmissing-prototypes -Wmissing-declarations -Wnested-externs -fno-strict-aliasing
5 CFLAGS=$(INCLUDES) -O0 -g $(WARN) -DAOVIEW_VERSION='"$(VERSION)"'
6 LIBS=$(shell pkg-config --libs $(MODULES)) -lm
32 $(CC) $(CFLAGS) -o $@ $(OBJ) $(LIBS)
36 aoview_main.o: aoview_glade.h
41 install: $(BIN)/aoview
46 aoview_glade.h: aoview.glade
47 sed -e 's/"/\\"/g' -e 's/^/"/' -e 's/$$/"/' $< > $@