cropper

diff Makefile @ 17:4453456abad1

gathered all code in one file
author meillo@marmaro.de
date Thu, 04 Mar 2010 19:34:12 +0100
parents 88b8856fccf5
children 762de8cee1e4
line diff
     1.1 --- a/Makefile	Thu Mar 04 19:20:41 2010 +0100
     1.2 +++ b/Makefile	Thu Mar 04 19:34:12 2010 +0100
     1.3 @@ -1,33 +1,16 @@
     1.4  # makefile for cropper
     1.5  
     1.6 -NAME    = cropper
     1.7 -
     1.8 -SRC = interface.c callbacks.c main.c
     1.9 -DEP = main.h
    1.10 -OBJ = ${SRC:.c=.o}
    1.11 -
    1.12  CC = gcc
    1.13  CFLAGS = `pkg-config --cflags gtk+-2.0`
    1.14  LDFLAGS = `pkg-config --libs --cflags gtk+-2.0`
    1.15  
    1.16  
    1.17 -
    1.18 -all: ${NAME}
    1.19 -
    1.20 -${NAME}: ${OBJ} ${DEP}
    1.21 -	${CC} -o ${NAME} ${OBJ} ${LDFLAGS}
    1.22 -
    1.23 -.c.o:
    1.24 -	${CC} ${CFLAGS} -c $<
    1.25 -
    1.26 -
    1.27 -interface.o: main.h
    1.28 -callbacks.o: main.h
    1.29 -main.o: main.h
    1.30 +cropper: main.o
    1.31 +	${CC} -o cropper main.o ${LDFLAGS}
    1.32  
    1.33  
    1.34  clean:
    1.35  	rm -f *.o
    1.36  
    1.37  realclean: clean
    1.38 -	rm -f ${NAME}
    1.39 +	rm -f cropper