diff options
author | Thomas Voss <mail@thomasvoss.com> | 2023-11-16 21:20:15 +0100 |
---|---|---|
committer | Thomas Voss <mail@thomasvoss.com> | 2023-11-16 21:20:15 +0100 |
commit | 94ea8d1ac53b3aada2c616f84b8e4686ae51054c (patch) | |
tree | b3bfda6e2a99e6524e182e815ccbfaaf2ebe843a /Makefile | |
parent | 113761d6b3b30e7a508c7fdb5ff0a9e1ddc02c95 (diff) |
Simplify Makefile
Diffstat (limited to 'Makefile')
-rw-r--r-- | Makefile | 5 |
1 files changed, 2 insertions, 3 deletions
@@ -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 |