Skip to content

Instantly share code, notes, and snippets.

@tobylane
Created February 18, 2018 09:27
Show Gist options
  • Save tobylane/1250b394ae439265cb2587cbd1b38ed4 to your computer and use it in GitHub Desktop.
Save tobylane/1250b394ae439265cb2587cbd1b38ed4 to your computer and use it in GitHub Desktop.
ifeq ($(shell uname -s),Darwin) # macOS
# Clang doesn't error on warnings.
# Bundled, un-updated bison introduce registers which cause non-repo code warnings
override CCFLAGS += -Werror -pedantic -Wno-deprecated-register
else
# Assume the user has specified the standard, or c89
override CCFLAGS += -Wall -g
endif
all: ## Make the Animation Encoder
$(info "$(CCFLAGS)")
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment