secret/Makefile
Adrien Gallouët 7417bf0ee0 Import code
Signed-off-by: Adrien Gallouët <adrien@gallouet.fr>
2020-04-24 06:55:38 +00:00

18 lines
320 B
Makefile

CC = cc
CFLAGS = -Wall -O2
prefix = /usr/local
secret:
$(CC) $(CFLAGS) $(CPPFLAGS) $(LDFLAGS) secret.c -o secret
install: secret
mkdir -p $(DESTDIR)$(prefix)/bin
cp -f secret $(DESTDIR)$(prefix)/bin
uninstall:
rm -f $(DESTDIR)$(prefix)/bin/secret
clean:
rm -f secret
.PHONY: secret install uninstall clean