cropper

view Makefile @ 15:7dbf3879939a

removed support.*
author meillo@marmaro.de
date Thu, 04 Mar 2010 19:16:10 +0100
parents 7e1cf00de1df
children 88b8856fccf5
line source
1 # makefile for cropper
3 NAME = cropper
5 SRC = interface.c callbacks.c main.c
6 DEP = main.h callbacks.h
7 OBJ = ${SRC:.c=.o}
9 CC = gcc
10 CFLAGS = `pkg-config --cflags gtk+-2.0`
11 LDFLAGS = `pkg-config --libs --cflags gtk+-2.0`
15 all: ${NAME}
17 ${NAME}: ${OBJ} ${DEP}
18 ${CC} -o ${NAME} ${OBJ} ${LDFLAGS}
20 .c.o:
21 ${CC} ${CFLAGS} -c $<
24 interface.o: main.h callbacks.h
25 callbacks.o: main.h callbacks.h
26 main.o: main.h
29 clean:
30 rm -f *.o
32 realclean: clean
33 rm -f ${NAME}