aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorThomas Voss <mail@thomasvoss.com> 2023-11-16 21:20:15 +0100
committerThomas Voss <mail@thomasvoss.com> 2023-11-16 21:20:15 +0100
commit94ea8d1ac53b3aada2c616f84b8e4686ae51054c (patch)
treeb3bfda6e2a99e6524e182e815ccbfaaf2ebe843a
parent113761d6b3b30e7a508c7fdb5ff0a9e1ddc02c95 (diff)
Simplify MakefileHEADmaster
-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