meillo@0: # basic GTK+ app makefile meillo@0: SOURCES = interface.c callbacks.c support.c main.c interface.h callbacks.h support.h meillo@0: OBJS = ${SOURCES:.c=.o} meillo@0: #CFLAGS = `gtk-config --cflags` meillo@0: #LDADD = `gtk-config --libs --cflags` meillo@0: datadir = /usr/local/share meillo@0: CFLAGS = `pkg-config --cflags gtk+-2.0` meillo@0: LDADD = `pkg-config --libs --cflags gtk+-2.0` meillo@0: CC = gcc meillo@0: PACKAGE = cropper meillo@0: meillo@0: meillo@0: meillo@0: all : ${OBJS} meillo@0: ${CC} -o ${PACKAGE} ${OBJS} ${LDADD} meillo@0: meillo@0: .c.o: meillo@0: ${CC} ${CFLAGS} -c $< meillo@0: meillo@2: meillo@2: clean: meillo@2: rm ${OBJS} meillo@2: rm ${PACKAGE} meillo@2: meillo@2: meillo@0: # end of file