Authenticated encryption built fully on XXTEA block cipher
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

32 lines
479 B

2 years ago
DESTDIR ?=
PREFIX ?= /usr/local
EXEC_PREFIX ?= $(PREFIX)
BINDIR ?= $(EXEC_PREFIX)/bin
CFLAGS ?= -std=gnu11 -Os -Wall -Wextra -pedantic
2 years ago
.SUFFIXES:
.SUFFIXES: .c .o
all: puer
2 years ago
puer: puer.o
$(CC) $(LDFLAGS) -o $@ $<
.c.o:
$(CC) -c $(CFLAGS) $(CPPFLAGS) -o $@ $<
clean:
rm -f puer *.o
distclean: clean
install: puer
install -D -m 775 -t '$(DESTDIR)$(BINDIR)' puer
uninstall:
cd $(DESTDIR)$(BINDIR) && rm puer
.PHONY: all clean distclean install uninstall
2 years ago
.DEFAULT: all