mirror of
https://github.com/angt/secret
synced 2024-11-16 19:48:05 +01:00
7417bf0ee0
Signed-off-by: Adrien Gallouët <adrien@gallouet.fr>
18 lines
320 B
Makefile
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
|