[hackers] [farbfeld] Fix Makefile to rebuild when there have been changes || FRIGN
commit 545c500d4278c50e781c9a5a550e92cb0023c8e8
Author: FRIGN <dev_AT_frign.de>
AuthorDate: Tue May 17 21:53:38 2016 +0200
Commit: FRIGN <dev_AT_frign.de>
CommitDate: Tue May 17 21:53:38 2016 +0200
Fix Makefile to rebuild when there have been changes
I forgot to add the dependencies in the build process
diff --git a/Makefile b/Makefile
index 21b82d9..80724a3 100644
--- a/Makefile
+++ b/Makefile
_AT_@ -11,10 +11,12 @@ MAN5 = farbfeld.5
all: ${BIN}
-png2ff ff2png:
+png2ff: png2ff.c
+ff2png: ff2png.c
${CC} -o $_AT_ ${CFLAGS} ${CPPFLAGS} -L${PNGLIB} -lpng -I${PNGINC} ${LDFLAGS} $@.c
-jpg2ff ff2jpg:
+jpg2ff: jpg2ff.c
+ff2jpg: ff2jpg.c
${CC} -o $_AT_ ${CFLAGS} ${CPPFLAGS} -L${JPGLIB} -ljpeg -I${JPGINC} ${LDFLAGS} $@.c
.c:
Received on Tue May 17 2016 - 21:54:05 CEST
This archive was generated by hypermail 2.3.0
: Tue May 17 2016 - 22:00:16 CEST