Skip to content
Snippets Groups Projects
Commit 3cc7a13d authored by namark's avatar namark
Browse files

A couple of more static_lib customization options.

parent 7c936aa6
No related merge requests found
CPPFLAGS += --std=c++1z CPPSTD ?= --std=c++1z
CPPFLAGS += $(CPPSTD)
override CPPFLAGS += -MMD -MP override CPPFLAGS += -MMD -MP
override CPPFLAGS += -I./include override CPPFLAGS += -I./include
override CPPFLAGS += $(shell cat .cxxflags 2> /dev/null | xargs) override CPPFLAGS += $(shell cat .cxxflags 2> /dev/null | xargs)
...@@ -44,7 +46,7 @@ OUT := $(DISTDIR)/$(TARGET) ...@@ -44,7 +46,7 @@ OUT := $(DISTDIR)/$(TARGET)
ifeq ($(origin HEADERS), undefined) ifeq ($(origin HEADERS), undefined)
HEADERS := $(shell find -wholename "$(SRCDIR)/*.hpp" && find -wholename "$(SRCDIR)/*.h") HEADERS := $(shell find -wholename "$(SRCDIR)/*.hpp" && find -wholename "$(SRCDIR)/*.h")
endif endif
INCLUDE := $(HEADERS:$(SRCDIR)/%=$(INCDIR)/%) INCLUDE := $(ADD_INCLUDE:%=$(INCDIR)/%) $(HEADERS:$(SRCDIR)/%=$(INCDIR)/%)
INCDIRS := $(shell dirname $(INCLUDE)) INCDIRS := $(shell dirname $(INCLUDE))
ifeq ($(origin SOURCES), undefined) ifeq ($(origin SOURCES), undefined)
......
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