cropper

annotate Makefile @ 4:2f11ab3e6047

added option handling; added output for convert; commented all ratio code cause it is not really important now
author meillo@marmaro.de
date Fri, 07 Dec 2007 17:40:08 +0100
parents 6aaba3a61563
children 7e1cf00de1df
rev   line source
meillo@0 1 # basic GTK+ app makefile
meillo@0 2 SOURCES = interface.c callbacks.c support.c main.c interface.h callbacks.h support.h
meillo@0 3 OBJS = ${SOURCES:.c=.o}
meillo@0 4 #CFLAGS = `gtk-config --cflags`
meillo@0 5 #LDADD = `gtk-config --libs --cflags`
meillo@0 6 datadir = /usr/local/share
meillo@0 7 CFLAGS = `pkg-config --cflags gtk+-2.0`
meillo@0 8 LDADD = `pkg-config --libs --cflags gtk+-2.0`
meillo@0 9 CC = gcc
meillo@0 10 PACKAGE = cropper
meillo@0 11
meillo@0 12
meillo@0 13
meillo@0 14 all : ${OBJS}
meillo@0 15 ${CC} -o ${PACKAGE} ${OBJS} ${LDADD}
meillo@0 16
meillo@0 17 .c.o:
meillo@0 18 ${CC} ${CFLAGS} -c $<
meillo@0 19
meillo@2 20
meillo@2 21 clean:
meillo@4 22 rm -f *.o
meillo@4 23 rm -f ${PACKAGE}
meillo@2 24
meillo@2 25
meillo@0 26 # end of file