Revert "Fix Makefile to rebuild when there have been changes" - farbfeld - suckless image format with conversion tools
HTML git clone git://git.suckless.org/farbfeld
DIR Log
DIR Files
DIR Refs
DIR README
DIR LICENSE
---
DIR commit 3d0f4c70385c8ad1dbaad1bb266e644c7109aa6a
DIR parent 545c500d4278c50e781c9a5a550e92cb0023c8e8
HTML Author: FRIGN <dev@frign.de>
Date: Wed, 18 May 2016 10:33:41 +0200
Revert "Fix Makefile to rebuild when there have been changes"
This reverts commit 545c500d4278c50e781c9a5a550e92cb0023c8e8.
Diffstat:
M Makefile | 6 ++----
1 file changed, 2 insertions(+), 4 deletions(-)
---
DIR diff --git a/Makefile b/Makefile
@@ -11,12 +11,10 @@ MAN5 = farbfeld.5
all: ${BIN}
-png2ff: png2ff.c
-ff2png: ff2png.c
+png2ff ff2png:
${CC} -o $@ ${CFLAGS} ${CPPFLAGS} -L${PNGLIB} -lpng -I${PNGINC} ${LDFLAGS} $@.c
-jpg2ff: jpg2ff.c
-ff2jpg: ff2jpg.c
+jpg2ff ff2jpg:
${CC} -o $@ ${CFLAGS} ${CPPFLAGS} -L${JPGLIB} -ljpeg -I${JPGINC} ${LDFLAGS} $@.c
.c: