Skip to content

Commit

Permalink
Switch to POSIX-compliant Makefile.
Browse files Browse the repository at this point in the history
  • Loading branch information
duckinator committed Nov 9, 2023
1 parent 5d54233 commit 55c30e6
Showing 1 changed file with 3 additions and 5 deletions.
8 changes: 3 additions & 5 deletions Makefile
Original file line number Diff line number Diff line change
@@ -1,3 +1,5 @@
.POSIX:

CC := clang

SOURCES := src/main.c src/dmm_string.c src/instance.c
Expand All @@ -6,11 +8,7 @@ TEST_SOURCES := test/instance_test.c test/main_test.c test/main.c
CINCLUDES := -Ibuild/deps/tinker/include -Iinclude

CFLAGS := ${CFLAGS} -std=c11 -pedantic-errors \
-fdiagnostics-show-option -Werror -Weverything \
-Wno-cast-qual -Wno-missing-prototypes -Wno-vla \
-Wno-documentation-unknown-command \
-Wno-unknown-warning-option \
-Wno-unsafe-buffer-usage -Wno-declaration-after-statement # TODO: Try to avoid needing these.
-Wall -Wextra -Wconversion -Wcast-qual

all: build/dmm-test

Expand Down

0 comments on commit 55c30e6

Please sign in to comment.