mirror of
https://github.com/google/brotli.git
synced 2024-11-28 22:21:05 +00:00
14 lines
219 B
Makefile
14 lines
219 B
Makefile
OS := $(shell uname)
|
|
|
|
CC ?= gcc
|
|
CXX ?= g++
|
|
|
|
COMMON_FLAGS = -fno-omit-frame-pointer -no-canonical-prefixes -O2
|
|
|
|
ifeq ($(OS), Darwin)
|
|
CPPFLAGS += -DOS_MACOSX
|
|
endif
|
|
|
|
CFLAGS += $(COMMON_FLAGS)
|
|
CXXFLAGS += $(COMMON_FLAGS)
|