Mercurial > cropper
view 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 |
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