baddc

integer-precision dc(1)
git clone git://bvnf.space/baddc.git
Log | Files | Refs

commit 4217d313a592b1e3c4789834864bd0b3f3695491
parent 6f534ecd133ffd027a14597973f50b31bb0f7fa0
Author: phoebos <ben@bvnf.space>
Date:   Wed, 25 May 2022 11:47:36 +0100

Makefile improvements

Diffstat:
MMakefile | 12++++--------
1 file changed, 4 insertions(+), 8 deletions(-)

diff --git a/Makefile b/Makefile @@ -1,13 +1,9 @@ .POSIX: -BIN = baddc -SRCS = baddc.c -XCFLAGS = -Wall -Wextra -pedantic -g -lm +XCFLAGS = $(CFLAGS) -Wall -Wextra -pedantic -Wno-array-bounds -g -$(BIN): $(SRCS) - $(CC) $(XCFLAGS) -o $(BIN) $(SRCS) +baddc: baddc.c + $(CC) $(XCFLAGS) -o $@ baddc.c -lm clean: - rm -f $(BIN) - -.PHONY: clean + rm -f baddc