diff options
| author | 2018-05-30 18:30:58 +0200 | |
|---|---|---|
| committer | 2018-05-30 23:00:44 +0200 | |
| commit | dc11b6262f4717e61e55760cb2bd637ff1c0f6a9 (patch) | |
| tree | f117356570d5c2baec289dd63a83cc9c2402c180 /Makefile | |
| download | hashpipe-master.tar.xz hashpipe-master.zip | |
Diffstat (limited to 'Makefile')
| -rw-r--r-- | Makefile | 20 |
1 files changed, 20 insertions, 0 deletions
diff --git a/Makefile b/Makefile new file mode 100644 index 0000000..0493295 --- /dev/null +++ b/Makefile @@ -0,0 +1,20 @@ +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 |
