mirror of
https://github.com/lcn2/calc.git
synced 2025-08-16 01:03:29 +03:00
Expanded the globalsymbol string table size: from 1024 to 65536. Expanded the how often to reallocate string table is performed: from 100 to 1024. Expanded the number env_pool elements to allocate at a time: from 10 to 256. Improve comments on Makefile.local and add a few more examples of how it might be used.
31 lines
1.1 KiB
Makefile
31 lines
1.1 KiB
Makefile
#
|
|
# 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 '#<whitespaces>' 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
|