From 928ba58c880a3842abdff3c446bfe956c8dc48ae Mon Sep 17 00:00:00 2001 From: Thomas Voss Date: Fri, 11 Aug 2023 15:22:02 +0200 Subject: Genesis commit --- Makefile | 16 ++++++++++++++++ 1 file changed, 16 insertions(+) create mode 100644 Makefile (limited to 'Makefile') diff --git a/Makefile b/Makefile new file mode 100644 index 0000000..7473a93 --- /dev/null +++ b/Makefile @@ -0,0 +1,16 @@ +CC = cc +CFLAGS = -g +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 -- cgit v1.2.3