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