view Makefile @ 6:f53ce3b28bb4

mercurial ignores JPG and PNG now, so I can store them in this directory for testing
author meillo@marmaro.de
date Fri, 07 Dec 2007 21:38:25 +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