Browse Source

concept.

master
heck 2 months ago
parent
commit
3c8069fa14
1 changed files with 3 additions and 7 deletions
  1. +3
    -7
      Makefile.conf

+ 3
- 7
Makefile.conf View File

@ -12,6 +12,7 @@ DEBUG=1
PREFIX?=$(HOME)
ENGINE_LIB_PATH=$(PREFIX)/lib
ENGINE_INC_PATH=$(PREFIX)/include
LANG_VERSION=c++14
CXXFLAGS+=-fPIC
@ -28,19 +29,14 @@ endif
######### Overrides #########
-include $(HERE)local.conf
CXXFLAGS+=-std=$(LANG_VERSION)
ifeq ($(DEBUG),1)
CXXFLAGS+=-g -O0
else
CXXFLAGS+=-DNDEBUG=1 -O3
endif
ifdef $(LANG_VERSION)
CXXFLAGS+=-std=$(LANG_VERSION)
else
CXXFLAGS+=-std=c++14
endif
# Add -L Prefixes to LIB/INC paths,
# if not already explicitly set in local.conf
ifndef ENGINE_LIB


Loading…
Cancel
Save