summaryrefslogtreecommitdiff
path: root/examples/Makefile
diff options
context:
space:
mode:
authorThomas Voss <mail@thomasvoss.com> 2022-12-24 03:23:09 +0100
committerThomas Voss <mail@thomasvoss.com> 2022-12-24 03:23:09 +0100
commit1c5846378bf832562b7cc2eb782a743ec9cd32f5 (patch)
treeb543f5cea969f905ac27fda1395090767815fb4e /examples/Makefile
parent9cca30d4024694cfc5bc7d84031c6b5e10c5b201 (diff)
Compile examples with warnings
Diffstat (limited to 'examples/Makefile')
-rw-r--r--examples/Makefile4
1 files changed, 2 insertions, 2 deletions
diff --git a/examples/Makefile b/examples/Makefile
index af41d5d..c6c5643 100644
--- a/examples/Makefile
+++ b/examples/Makefile
@@ -1,7 +1,8 @@
.POSIX:
CC = cc
-CFLAGS = -Og -g -ggdb
+CFLAGS = -Wall -Wextra -Wpedantic -Werror \
+ -Og -g -ggdb
LDFLAGS = -I../src
progs = gehashmap gevector
@@ -9,7 +10,6 @@ progs = gehashmap gevector
all: ${progs}
gehashmap: gehashmap.c
-
gevector: gevector.c
clean: