From 94ea8d1ac53b3aada2c616f84b8e4686ae51054c Mon Sep 17 00:00:00 2001 From: Thomas Voss Date: Thu, 16 Nov 2023 21:20:15 +0100 Subject: Simplify Makefile --- Makefile | 5 ++--- 1 file 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 -- cgit v1.2.3