Mercurial > cropper
annotate Makefile @ 7:ec2d11d96fb0
image is now gdk-pixbuff; zoom implemented in a basic way
author | meillo@marmaro.de |
---|---|
date | Wed, 19 Mar 2008 23:01:43 +0100 |
parents | 2f11ab3e6047 |
children | 7e1cf00de1df |
rev | line source |
---|---|
0 | 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 | |
11 | |
12 | |
13 | |
14 all : ${OBJS} | |
15 ${CC} -o ${PACKAGE} ${OBJS} ${LDADD} | |
16 | |
17 .c.o: | |
18 ${CC} ${CFLAGS} -c $< | |
19 | |
2
e359bea4c8ac
added code for ratio swap; new names for ratio operations; added main.h; some more
meillo@marmaro.de
parents:
0
diff
changeset
|
20 |
e359bea4c8ac
added code for ratio swap; new names for ratio operations; added main.h; some more
meillo@marmaro.de
parents:
0
diff
changeset
|
21 clean: |
4
2f11ab3e6047
added option handling; added output for convert; commented all ratio code cause it is not really important now
meillo@marmaro.de
parents:
3
diff
changeset
|
22 rm -f *.o |
2f11ab3e6047
added option handling; added output for convert; commented all ratio code cause it is not really important now
meillo@marmaro.de
parents:
3
diff
changeset
|
23 rm -f ${PACKAGE} |
2
e359bea4c8ac
added code for ratio swap; new names for ratio operations; added main.h; some more
meillo@marmaro.de
parents:
0
diff
changeset
|
24 |
e359bea4c8ac
added code for ratio swap; new names for ratio operations; added main.h; some more
meillo@marmaro.de
parents:
0
diff
changeset
|
25 |
0 | 26 # end of file |