view Makefile @ 5:61e5a1727231

added image widget, that displays the image
author meillo@marmaro.de
date Fri, 07 Dec 2007 21:35:49 +0100
parents 2f11ab3e6047
children 7e1cf00de1df
line wrap: on
line source

# basic GTK+ app makefile
SOURCES = interface.c callbacks.c support.c main.c interface.h callbacks.h support.h
OBJS    = ${SOURCES:.c=.o}
#CFLAGS  = `gtk-config --cflags`
#LDADD   = `gtk-config --libs --cflags`
datadir = /usr/local/share
CFLAGS  = `pkg-config --cflags gtk+-2.0`
LDADD   = `pkg-config --libs --cflags gtk+-2.0`
CC      = gcc
PACKAGE = cropper



all : ${OBJS}
	${CC} -o ${PACKAGE} ${OBJS} ${LDADD}

.c.o:
	${CC} ${CFLAGS} -c $<


clean:
	rm -f *.o
	rm -f ${PACKAGE}


# end of file