farbfeld

suckless image format with conversion tools
git clone git://git.suckless.org/farbfeld
Log | Files | Refs | README | LICENSE

commit 65829635d9f5f9f4a23c2f890c60c315bcbafee2
parent 416f39e3d68a6b12a05751930a609cfbbde483ff
Author: Laslo Hunhold <dev@frign.de>
Date:   Wed, 29 Mar 2017 18:07:29 +0200

Rename PREREQ to REQ

Diffstat:
Makefile | 10+++++-----
1 file changed, 5 insertions(+), 5 deletions(-)

diff --git a/Makefile b/Makefile @@ -2,7 +2,7 @@ # See LICENSE file for copyright and license details include config.mk -PREREQ = +REQ = HDR = arg.h BIN = png2ff ff2png jpg2ff ff2jpg ff2pam ff2ppm SCRIPTS = 2ff @@ -11,22 +11,22 @@ MAN5 = farbfeld.5 all: $(BIN) -$(BIN): % : %.o $(PREREQ:=.o) +$(BIN): % : %.o $(REQ:=.o) $(CC) $^ $(LDFLAGS) -o $@ -$(BIN:=.o): $(HDR) $(PREREQ:=.h) +$(BIN:=.o): $(HDR) $(REQ:=.h) %.o: %.c config.mk $(CC) $(CPPFLAGS) $(CFLAGS) -c $< clean: - rm -f $(BIN) $(BIN:=.o) $(PREREQ:=.o) + rm -f $(BIN) $(BIN:=.o) $(REQ:=.o) dist: rm -rf "farbfeld-$(VERSION)" mkdir -p "farbfeld-$(VERSION)" cp -R FORMAT LICENSE Makefile README TODO config.mk $(SCRIPTS) \ - $(HDR) $(BIN:=.c) $(PREREQ:=.c) $(PREREQ:=.h) \ + $(HDR) $(BIN:=.c) $(REQ:=.c) $(REQ:=.h) \ $(MAN1) $(MAN5) "farbfeld-$(VERSION)" tar -cf - "farbfeld-$(VERSION)" | gzip -c > "farbfeld-$(VERSION).tar.gz" rm -rf "farbfeld-$(VERSION)"