Update Makefiles

This commit is contained in:
2019-04-14 22:50:44 +02:00
parent 9866174ac2
commit 05e4e7e631
14 changed files with 148 additions and 88 deletions
+1 -15
View File
@@ -1,24 +1,10 @@
#
# Makefile.conf.local
# Makefile.conf.x86-64
#
ARCH := x86-64
CFLAGS := -g3 -O3 -Wall -fPIC -std=c++11
CFLAGS += -Wall -Wextra -Wstrict-aliasing -pedantic -fmax-errors=5 -Werror -Wunreachable-code -Wcast-qual -Wdisabled-optimization -Wformat=2 -Winit-self -Wlogical-op -Wmissing-include-dirs -Wnoexcept -Woverloaded-virtual -Wsign-promo -Wstrict-null-sentinel -Wswitch-default -Wno-unused -Wno-variadic-macros -Wno-parentheses -fdiagnostics-show-option
# CFLAGS += -Wold-style-cast -Wundef -Wshadow -Wctor-dtor-privacy -Wredundant-decls -Wstrict-overflow=5 -Wcast-align
LFLAGS := -lpthread -lm -lboost_system -lboost_thread -lboost_program_options -lboost_date_time -lssl -lcrypto -lcurl -lz -ldl -lbluetooth
AR := ar
CC := g++
STRIP := strip
OBJCOPY := objcopy
CFLAGS += -fpermissive
CFLAGS += -I/opt/build/PresenceDetection
CFLAGS += -ffunction-sections -fdata-sections
LFLAGS += -Wl,--gc-sections
SFLAGS := -s -R .comment -R .gnu.version --strip-unneeded
DEBUGDIR := .debug
DATETIME := `date +'%y%m%d-%H%M'`