From 214e44dad01a0dcb2f99e5ed1d218334e55a1799 Mon Sep 17 00:00:00 2001 From: Veit Heller Date: Wed, 8 Oct 2014 12:47:26 +0200 Subject: [PATCH] Minor fixes --- nbfi/Makefile | 1 - vvm/Makefile | 3 ++- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/nbfi/Makefile b/nbfi/Makefile index eab8e17..8f1a0d8 100644 --- a/nbfi/Makefile +++ b/nbfi/Makefile @@ -12,7 +12,6 @@ all: @echo @echo Running tests: @echo - make tests # Runs the tests tests: diff --git a/vvm/Makefile b/vvm/Makefile index 534ed67..9d43343 100644 --- a/vvm/Makefile +++ b/vvm/Makefile @@ -1,5 +1,5 @@ override CFLAGS+=-Werror -Wall -g -fPIC -O2 -DNDEBUG -ftrapv -Wfloat-equal -Wundef -Wwrite-strings -Wconversion -Wuninitialized -DEBUG+=-DEBUG=1 +DEBUG+=-DDEBUG=1 PREFIX=/usr/bin BUILDDIR=bin/ @@ -15,6 +15,7 @@ all: dev: make all CFLAGS+=-Wshadow -Wunreachable-code -Wswitch-enum -Wswitch-default -Wcast-align -Winit-self -Wpointer-arith -Weffc++ +#Makes a debug build debug: mkdir $(BUILDDIR) 2> /dev/null || true cc $(CFLAGS) $(DEBUG) $(SOURCES) -o $(BUILDDIR)$(TARGET)