forked from nicmcd/libsettings
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathMakefile
More file actions
37 lines (32 loc) · 1.21 KB
/
Copy pathMakefile
File metadata and controls
37 lines (32 loc) · 1.21 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
#--------------------- Basic Settings -----------------------------------------#
PROGRAM_NAME := settings
BINARY_BASE := bin
BUILD_BASE := bld
INCLUDE_BASE := inc
SOURCE_BASE := src
#--------------------- External Libraries -------------------------------------#
HEADER_DIRS := \
../libprim/inc \
../libjson/inc \
../libstrop/inc
STATIC_LIBS := \
../libprim/bld/libprim.a \
../libjson/bld/libjson.a \
../libstrop/bld/libstrop.a
#--------------------- Cpp Lint -----------------------------------------------#
LINT := $(HOME)/.makeccpp/cpplint/cpplint.py
LINT_FLAGS :=
#--------------------- Unit Tests ---------------------------------------------#
TEST_SUFFIX := _TEST
GTEST_BASE := $(HOME)/.makeccpp/gtest
GTEST_PARALLEL := $(HOME)/.makeccpp/gtest-parallel
#--------------------- Compilation and Linking --------------------------------#
CXX := g++
AR := gcc-ar
SRC_EXTS := .cc
HDR_EXTS := .h .tcc
CXX_FLAGS := -Wall -Wextra -pedantic -Wfatal-errors -std=c++11
CXX_FLAGS += -march=native -g -O3 -flto
LINK_FLAGS :=
#--------------------- Auto Makefile ------------------------------------------#
include $(HOME)/.makeccpp/auto_lib.mk