[hackers] [farbfeld] Rename PREREQ to REQ || Laslo Hunhold

From: <git_AT_suckless.org>
Date: Wed, 29 Mar 2017 18:07:45 +0200 (CEST)

commit 65829635d9f5f9f4a23c2f890c60c315bcbafee2
Author: Laslo Hunhold <dev_AT_frign.de>
AuthorDate: Wed Mar 29 18:07:29 2017 +0200
Commit: Laslo Hunhold <dev_AT_frign.de>
CommitDate: Wed Mar 29 18:07:29 2017 +0200

    Rename PREREQ to REQ

diff --git a/Makefile b/Makefile
index a764133..dcbbeed 100644
--- a/Makefile
+++ b/Makefile
_AT_@ -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
_AT_@ -11,22 +11,22 @@ MAN5 = farbfeld.5
 
 all: $(BIN)
 
-$(BIN): % : %.o $(PREREQ:=.o)
+$(BIN): % : %.o $(REQ:=.o)
         $(CC) $^ $(LDFLAGS) -o $_AT_
 
-$(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)"
Received on Wed Mar 29 2017 - 18:07:45 CEST

This archive was generated by hypermail 2.3.0 : Wed Mar 29 2017 - 18:12:22 CEST