diff options
author | Tom Smeding <tom.smeding@gmail.com> | 2021-01-04 21:07:18 +0100 |
---|---|---|
committer | Tom Smeding <tom.smeding@gmail.com> | 2021-01-04 21:07:18 +0100 |
commit | fcb0a17768142fbd660aae6a24015b67522b015a (patch) | |
tree | 81eb85a72734497020197e8c3c3d52a4edaaed08 /utilities/Makefile | |
parent | 32566e4d640e354adaa83cf9b7240bfc2cdd83e3 (diff) |
utilities: hash_pass: Password hashing utility (doesn't work yet)
It nicely gives a hash, but the server doesn't accept the corresponding
password afterwards. Probably did something stupid.
Diffstat (limited to 'utilities/Makefile')
-rw-r--r-- | utilities/Makefile | 20 |
1 files changed, 20 insertions, 0 deletions
diff --git a/utilities/Makefile b/utilities/Makefile new file mode 100644 index 0000000..684054a --- /dev/null +++ b/utilities/Makefile @@ -0,0 +1,20 @@ +CC = gcc +CFLAGS = -Wall -Wextra -std=c11 -g -O2 -D_DEFAULT_SOURCE +LDFLAGS = +CFLAGS += $(shell pkg-config --cflags libsodium) +LDFLAGS += $(shell pkg-config --libs libsodium) + +SOURCES = $(wildcard *.c) +TARGETS = $(SOURCES:.c=) + + +.PHONY: all clean + +all: $(TARGETS) + +clean: + rm -f $(TARGETS) + + +$(TARGETS): %: %.c + $(CC) $(CFLAGS) -o $@ $< $(LDFLAGS) |