blob: e368746c70cc9de0d4e8ab5746d530d209e968ce (
plain) (
blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
|
CC = cc
CFLAGS = -Wall -Wextra -Wpedantic -Werror \
-O3 -march=native -mtune=native \
-fomit-frame-pointer -pipe
LDLIBS = -luriparser -lssl -lcrypto
all: totp
totp: main.o b32.o
${CC} ${LDLIBS} -o $@ main.o b32.o
main.o: main.c b32.h
${CC} ${CFLAGS} -c main.c
b32.o: b32.c b32.h
${CC} ${CFLAGS} -c b32.c
clean:
rm -f totp *.o
|