view Makefile @ 2:e359bea4c8ac

added code for ratio swap; new names for ratio operations; added main.h; some more
author meillo@marmaro.de
date Tue, 04 Dec 2007 23:20:51 +0100
parents ca9155129253
children 6aaba3a61563
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 ${OBJS}
	rm ${PACKAGE}


# end of file