cropper

view Makefile @ 12:75a30c850ea0

more cosmetic changes
author meillo@marmaro.de
date Thu, 04 Mar 2010 14:23:30 +0100
parents 2f11ab3e6047
children 7dbf3879939a
line source
1 # makefile for cropper
3 NAME = cropper
5 SRC = interface.c callbacks.c support.c main.c
6 DEP = main.h callbacks.h support.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 support.o: support.h
25 interface.o: main.h callbacks.h support.h
26 callbacks.o: main.h callbacks.h support.h
27 main.o: main.h support.h
30 clean:
31 rm -f *.o
33 realclean: clean
34 rm -f ${NAME}