aboutsummaryrefslogtreecommitdiff
path: root/Makefile
diff options
context:
space:
mode:
authorAryadev Chavali <aryadev@aryadevchavali.com>2023-10-22 18:26:33 +0100
committerAryadev Chavali <aryadev@aryadevchavali.com>2023-10-22 18:26:33 +0100
commited630259277deb8a17d993574cec93397183c26d (patch)
tree8c19f393479b59d21154b034593bfe2f228077f4 /Makefile
parentcf23a620089155caf2a1c7227c6c52f9f8a74a3c (diff)
downloadovm-ed630259277deb8a17d993574cec93397183c26d.tar.gz
ovm-ed630259277deb8a17d993574cec93397183c26d.tar.bz2
ovm-ed630259277deb8a17d993574cec93397183c26d.zip
Added flag to Makefile to set VERBOSE macro in base.h
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile5
1 files changed, 4 insertions, 1 deletions
diff --git a/Makefile b/Makefile
index 6ac5145..27c1fb4 100644
--- a/Makefile
+++ b/Makefile
@@ -1,8 +1,11 @@
CC=gcc
-GENERAL-FLAGS=-Wall -Wextra -Werror -Wswitch-enum -std=c11
+
+FVERBOSE=0
+GENERAL-FLAGS=-Wall -Wextra -Werror -Wswitch-enum -std=c11 -D VERBOSE=$(FVERBOSE)
DEBUG-FLAGS=-ggdb -fsanitize=address
RELEASE-FLAGS=-O3
CFLAGS=$(GENERAL-FLAGS) $(DEBUG-FLAGS)
+
LIBS=
ARGS=
OUT=ovm.out