Skip to content
Snippets Groups Projects
Commit 50501015 authored by Deucе's avatar Deucе :ok_hand_tone4:
Browse files

Add WALL option.

parent bc8af613
No related branches found
No related tags found
1 merge request!455Update branch with changes from master
......@@ -94,7 +94,8 @@
# MT_LDFLAGS - LDFLAGS for linking MT targets #
# UL_PRE - Use Library prefix (*nix is -l) #
# UL_SUF - Use Library siffix (bcc is .lib) #
# WERROR - Error on warnings #
# WERROR - Error on warnings (-Werror) #
# WALL - All warnings, even for a RELEASE build (-Wall) #
# #
# Common Targets Defined: #
# Implicit C and C++ targets #
......@@ -164,10 +165,12 @@ ifndef VERBOSE
QUIET := @
endif
# WERROR
ifdef WERROR
CFLAGS += -Werror
endif
ifdef WALL
CFLAGS += -Wall
endif
# Compiler-specific options
CFLAGS += -MMD
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment