cropper
view Makefile @ 16:88b8856fccf5
merged callbacks.h in main.h
author | meillo@marmaro.de |
---|---|
date | Thu, 04 Mar 2010 19:20:41 +0100 |
parents | 7dbf3879939a |
children | 4453456abad1 |
line source
1 # makefile for cropper
3 NAME = cropper
5 SRC = interface.c callbacks.c main.c
6 DEP = main.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
25 callbacks.o: main.h
26 main.o: main.h
29 clean:
30 rm -f *.o
32 realclean: clean
33 rm -f ${NAME}