aboutsummaryrefslogtreecommitdiffstats
path: root/Makefile
diff options
context:
space:
mode:
authorGravatar Peter McGoron 2024-07-14 01:20:50 -0400
committerGravatar Peter McGoron 2024-07-14 01:20:50 -0400
commit2effa0f98cac2a2845aba5e303e977170f72a8d8 (patch)
treed2140f61b4d3a0460bf92909946fd5e4516c2de0 /Makefile
parentimport flatrate lisp, rename to Universal Service LISP (diff)
cheney_c89: valgrind
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile6
1 files changed, 5 insertions, 1 deletions
diff --git a/Makefile b/Makefile
index 7440a9d..49fb35c 100644
--- a/Makefile
+++ b/Makefile
@@ -3,11 +3,15 @@
.SUFFIXES:
.SUFFIXES: .c .o .test
CC=cc
+TEST_WRAPPER=valgrind --exit-on-first-error=yes
-CFLAGS=-Wall -std=c89 -Werror -pedantic -fPIC -g -Iinclude -I.
+CFLAGS=-Wall -std=c89 -Werror -pedantic -fPIC -g -Iinclude -I. -Wno-unused-function -Wno-unused-variable ${EXTRACFLAGS}
tests: string_tests htable_tests
+with_valgrind:
+ make EXTRACFLAGS=-DUNS_VALGRIND
+
COMMON_OBJECTS=uns.o
uns.o: uns.c include/uns.h