aboutsummaryrefslogtreecommitdiff
path: root/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile5
1 files changed, 2 insertions, 3 deletions
diff --git a/Makefile b/Makefile
index de03616..03f01c4 100644
--- a/Makefile
+++ b/Makefile
@@ -1,3 +1,5 @@
+.POSIX:
+
CC = cc
CFLAGS = \
-Wall -Wextra -pedantic -Wshadow -Wpointer-arith -Wcast-align \
@@ -15,10 +17,7 @@ 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
install:
mkdir -p ${DPREFIX}/bin ${DPREFIX}/share/man/man1