aboutsummaryrefslogtreecommitdiff
path: root/Makefile
diff options
context:
space:
mode:
authorThomas Voss <mail@thomasvoss.com> 2024-08-26 09:04:11 +0200
committerThomas Voss <mail@thomasvoss.com> 2024-08-26 09:04:11 +0200
commit3621a04cf020cba747ba75136aec7a575890cceb (patch)
tree1cb7e00db51863beb015f349ac8990db9261a873 /Makefile
parent94ea8d1ac53b3aada2c616f84b8e4686ae51054c (diff)
Huge overhall; fix code; remove external deps
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile28
1 files changed, 0 insertions, 28 deletions
diff --git a/Makefile b/Makefile
deleted file mode 100644
index 03f01c4..0000000
--- a/Makefile
+++ /dev/null
@@ -1,28 +0,0 @@
-.POSIX:
-
-CC = cc
-CFLAGS = \
- -Wall -Wextra -pedantic -Wshadow -Wpointer-arith -Wcast-align \
- -Wwrite-strings -Wmissing-prototypes -Wmissing-declarations \
- -Wredundant-decls -Wnested-externs -Winline -Wno-long-long \
- -Wconversion -Wstrict-prototypes \
- -O3 -march=native -mtune=native -pipe
-LDLIBS = -luriparser -lssl -lcrypto
-
-PREFIX = /usr/local
-DPREFIX = ${DESTDIR}${PREFIX}
-
-all: totp
-totp: main.o b32.o
- ${CC} ${LDLIBS} -o $@ main.o b32.o
-
-main.o: main.c b32.h
-b32.o: b32.c b32.h
-
-install:
- mkdir -p ${DPREFIX}/bin ${DPREFIX}/share/man/man1
- cp totp ${DPREFIX}/bin
- cp totp.1 ${DPREFIX}/share/man/man1
-
-clean:
- rm -f totp *.o