Turn off GNU Make's historical "implicit" rules. They add a ton of

overhead and we don't use 'em
pull/1144/head
Jesse Vincent 3 years ago
parent a273b47ab2
commit 0fc1cc89da
No known key found for this signature in database
GPG Key ID: 122F5DF7108E4046

@ -1,3 +1,24 @@
# Reset a bunch of historical GNU make implicit rules that we never
# use, but which have a disastrous impact on performance
#
# --no-builtin-rules in MAKEFLAGS apparently came in with GNU Make 4,
# which is newer than what Apple ships
MAKEFLAGS += --no-builtin-rules
# These lines reset the implicit rules we really care about
%:: %,v
%:: RCS/%,v
%:: RCS/%
%:: s.%
%:: SCCS/s.%
.SUFFIXES:
include $(dir $(abspath $(lastword $(MAKEFILE_LIST))))/etc/makefiles/arduino-cli.mk include $(dir $(abspath $(lastword $(MAKEFILE_LIST))))/etc/makefiles/arduino-cli.mk
# Set up an argument for passing to the simulator tests in docker # Set up an argument for passing to the simulator tests in docker

Loading…
Cancel
Save