From bdb43c486b1f5dbd8eedf866b4161b31f1e5d75a Mon Sep 17 00:00:00 2001 From: Tim Segers Date: Thu, 30 Oct 2025 23:30:50 +0100 Subject: Rename encpipe to tweetpipe --- Makefile | 22 +++++++++++----------- 1 file changed, 11 insertions(+), 11 deletions(-) (limited to 'Makefile') diff --git a/Makefile b/Makefile index b098ba0..fb589f6 100644 --- a/Makefile +++ b/Makefile @@ -4,45 +4,45 @@ CFLAGS ?= -O3 -mtune=native -fno-exceptions -flto $(WFLAGS) CPPFLAGS += -I. -Iext/tweetnacl -Iext/tweetpwhash -Iext/util STRIP ?= strip -OBJ = ext/tweetnacl/tweetnacl.o ext/tweetpwhash/tweetpwhash.o ext/util/util.o src/encpipe.o src/safe_rw.o +OBJ = ext/tweetnacl/tweetnacl.o ext/tweetpwhash/tweetpwhash.o ext/util/util.o src/tweetpipe.o src/safe_rw.o SRC = \ ext/tweetnacl/tweetnacl.c \ ext/tweetpwhash/tweetpwhash.c \ ext/util/util.c \ src/common.h \ - src/encpipe.c \ - src/encpipe_p.h \ + src/tweetpipe.c \ + src/tweetpipe_p.h \ src/safe_rw.c \ src/safe_rw.h all: bin test -bin: encpipe +bin: tweetpipe $(OBJ): $(SRC) .c.o: $(CC) $(CFLAGS) $(CPPFLAGS) -o $@ -c $< -encpipe: $(OBJ) - $(CC) $(CFLAGS) -o encpipe $(LDFLAGS) $(OBJ) +tweetpipe: $(OBJ) + $(CC) $(CFLAGS) -o tweetpipe $(LDFLAGS) $(OBJ) install: all - -$(STRIP) --strip-all encpipe 2> /dev/null || $(STRIP) encpipe 2> /dev/null + -$(STRIP) --strip-all tweetpipe 2> /dev/null || $(STRIP) tweetpipe 2> /dev/null mkdir -p $(PREFIX)/bin - install -o 0 -g 0 -m 0755 encpipe $(PREFIX)/bin 2> /dev/null || install -m 0755 encpipe $(PREFIX)/bin + install -o 0 -g 0 -m 0755 tweetpipe $(PREFIX)/bin 2> /dev/null || install -m 0755 tweetpipe $(PREFIX)/bin uninstall: - rm -f $(PREFIX)/bin/encpipe + rm -f $(PREFIX)/bin/tweetpipe test: bin - @echo test | ./encpipe -e -p password | ./encpipe -d -p password -o /dev/null + @echo test | ./tweetpipe -e -p password | ./tweetpipe -d -p password -o /dev/null .PHONY: clean clean: - rm -f encpipe $(OBJ) + rm -f tweetpipe $(OBJ) distclean: clean -- cgit v1.2.3-70-g09d2