Mercurial > 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 wrap: on
line diff
--- a/Makefile Thu Mar 04 19:20:41 2010 +0100 +++ b/Makefile Thu Mar 04 19:34:12 2010 +0100 @@ -1,33 +1,16 @@ # makefile for cropper -NAME = cropper - -SRC = interface.c callbacks.c main.c -DEP = main.h -OBJ = ${SRC:.c=.o} - CC = gcc CFLAGS = `pkg-config --cflags gtk+-2.0` LDFLAGS = `pkg-config --libs --cflags gtk+-2.0` - -all: ${NAME} - -${NAME}: ${OBJ} ${DEP} - ${CC} -o ${NAME} ${OBJ} ${LDFLAGS} - -.c.o: - ${CC} ${CFLAGS} -c $< - - -interface.o: main.h -callbacks.o: main.h -main.o: main.h +cropper: main.o + ${CC} -o cropper main.o ${LDFLAGS} clean: rm -f *.o realclean: clean - rm -f ${NAME} + rm -f cropper