diff options
Diffstat (limited to 'Makefile')
-rw-r--r-- | Makefile | 16 |
1 files changed, 16 insertions, 0 deletions
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 |