mirror of https://git.zx2c4.com/hashpipe/
You cannot select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
21 lines
367 B
Makefile
21 lines
367 B
Makefile
PREFIX ?= /usr/local
|
|
DESTDIR ?=
|
|
BINDIR ?= $(PREFIX)/bin
|
|
MANDIR ?= $(PREFIX)/share/man
|
|
|
|
LDLIBS := -lcrypto
|
|
CFLAGS ?= -O3 -march=native
|
|
CFLAGS += -std=gnu11 -Wall -pedantic
|
|
|
|
all: hashpipe
|
|
|
|
hashpipe:
|
|
|
|
install: hashpipe
|
|
@install -v -d "$(DESTDIR)$(BINDIR)" && install -v -m 0755 hashpipe "$(DESTDIR)$(BINDIR)/hashpipe"
|
|
|
|
clean:
|
|
rm -f hashpipe
|
|
|
|
.PHONY: all clean install
|