diff options
author | Laslo Hunhold <dev@frign.de> | 2017-03-29 18:07:29 +0200 |
---|---|---|
committer | Laslo Hunhold <dev@frign.de> | 2017-03-29 18:07:29 +0200 |
commit | 65829635d9f5f9f4a23c2f890c60c315bcbafee2 (patch) | |
tree | e9815c0024beab2fbafaf9a80fcf1bc65efc47d4 /Makefile | |
parent | 416f39e3d68a6b12a05751930a609cfbbde483ff (diff) |
Rename PREREQ to REQ
Diffstat (limited to 'Makefile')
-rw-r--r-- | Makefile | 10 |
1 files changed, 5 insertions, 5 deletions
@@ -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)" |