mirror of
https://github.com/angt/secret
synced 2024-12-25 21:58:25 +01:00
fad4fe5f62
Signed-off-by: Adrien Gallouët <adrien@gallouet.fr>
19 lines
352 B
Makefile
19 lines
352 B
Makefile
CC = cc
|
|
CFLAGS = -Wall -O2
|
|
prefix = /usr/local
|
|
PREFIX = $(prefix)
|
|
|
|
secret:
|
|
$(X)$(CC) $(EXTRA) $(CFLAGS) $(CPPFLAGS) $(LDFLAGS) secret.c -o secret
|
|
|
|
install: secret
|
|
mkdir -p $(DESTDIR)$(PREFIX)/bin
|
|
mv -f secret $(DESTDIR)$(PREFIX)/bin
|
|
|
|
uninstall:
|
|
rm -f $(DESTDIR)$(PREFIX)/bin/secret
|
|
|
|
clean:
|
|
rm -f secret
|
|
|
|
.PHONY: secret install uninstall clean
|