cropper

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 6aaba3a61563
children 7e1cf00de1df
line source
1 # basic GTK+ app makefile
2 SOURCES = interface.c callbacks.c support.c main.c interface.h callbacks.h support.h
3 OBJS = ${SOURCES:.c=.o}
4 #CFLAGS = `gtk-config --cflags`
5 #LDADD = `gtk-config --libs --cflags`
6 datadir = /usr/local/share
7 CFLAGS = `pkg-config --cflags gtk+-2.0`
8 LDADD = `pkg-config --libs --cflags gtk+-2.0`
9 CC = gcc
10 PACKAGE = cropper
14 all : ${OBJS}
15 ${CC} -o ${PACKAGE} ${OBJS} ${LDADD}
17 .c.o:
18 ${CC} ${CFLAGS} -c $<
21 clean:
22 rm -f *.o
23 rm -f ${PACKAGE}
26 # end of file