brotli/shared.mk

14 lines
219 B
Makefile
Raw Normal View History

2014-10-30 12:59:37 +00:00
OS := $(shell uname)
CC ?= gcc
CXX ?= g++
2014-10-30 12:59:37 +00:00
2015-07-30 16:08:40 +00:00
COMMON_FLAGS = -fno-omit-frame-pointer -no-canonical-prefixes -O2
2014-10-30 12:59:37 +00:00
ifeq ($(OS), Darwin)
CPPFLAGS += -DOS_MACOSX
endif
CFLAGS += $(COMMON_FLAGS)
2016-01-06 16:19:02 +00:00
CXXFLAGS += $(COMMON_FLAGS)