Mercurial > cropper
annotate Makefile @ 3:6aaba3a61563
added ratio control code
author | meillo@marmaro.de |
---|---|
date | Wed, 05 Dec 2007 00:08:39 +0100 |
parents | e359bea4c8ac |
children | 2f11ab3e6047 |
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: |
3 | 22 rm *.o |
2
e359bea4c8ac
added code for ratio swap; new names for ratio operations; added main.h; some more
meillo@marmaro.de
parents:
0
diff
changeset
|
23 rm ${PACKAGE} |
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 |