# # Makefile.local - local Makefile variables # # This file is included by Makefile after the last Makefile is set and # before the first make rule. This makes this file suitable to override # Makefile variables. # # To replace a Makefile variable, use := symbols. For example: # # CCWERR:= -Werror ################################################################### # NOTE: For this and other commended out examples in this file, # # you need to remove the leading '#' to take effect. # # # # Comments start with a #-character. # ################################################################### # You can append to an existing Makefile variable using '+=' symbols. # For example: # # CFLAGS+= -Ofast # For example, on macOS 12.1, you can use the following lines to # invoke clang's AddressSanitizer. You do NOT want to do this by # by default! Do this only if you are debugging calc using clang. # # CFLAGS+= -fsanitize=address -fno-omit-frame-pointer # LDFLAGS+= -fsanitize=address -fno-omit-frame-pointer # CALC_ENV+= ASAN_OPTIONS=detect_stack_use_after_return=1