Minor fixes

This commit is contained in:
Veit Heller
2014-10-08 12:47:26 +02:00
parent c7bf6e5fb7
commit 214e44dad0
2 changed files with 2 additions and 2 deletions

View File

@@ -12,7 +12,6 @@ all:
@echo
@echo Running tests:
@echo
make tests
# Runs the tests
tests:

View File

@@ -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)