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