diff Makefile @ 0:ca9155129253

initial commit code base: gthumb_crop.glade and generated code from it with glade
author meillo@marmaro.de
date Tue, 04 Dec 2007 16:48:51 +0100
parents
children e359bea4c8ac
line wrap: on
line diff
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/Makefile	Tue Dec 04 16:48:51 2007 +0100
@@ -0,0 +1,20 @@
+# 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 $<
+
+# end of file