diff options
| author | 2025-10-30 23:30:50 +0100 | |
|---|---|---|
| committer | 2025-11-01 10:24:56 +0100 | |
| commit | bdb43c486b1f5dbd8eedf866b4161b31f1e5d75a (patch) | |
| tree | f1b9a6642376db8c71f9767319cda1f26ef3b3f6 /Makefile | |
| parent | 945f3a935d85d55c23d5cfe4b98b064532dc6bcd (diff) | |
| download | tweetpipe-bdb43c486b1f5dbd8eedf866b4161b31f1e5d75a.tar.gz | |
Rename encpipe to tweetpipe
Diffstat (limited to 'Makefile')
| -rw-r--r-- | Makefile | 22 |
1 files changed, 11 insertions, 11 deletions
@@ -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 |