brotli/shared.mk

14 lines
263 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) -Wmissing-prototypes
CXXFLAGS += $(COMMON_FLAGS) -Wmissing-declarations