Refactored all of the desugaring code to no longer depend on memory being initialized to 0. Everything is about 12% faster now.
This commit is contained in:
parent
d71215d494
commit
ec404ca8fe
36 changed files with 411 additions and 417 deletions
10
Makefile
10
Makefile
|
|
@ -24,17 +24,19 @@ examples/all: src/all
|
|||
examples/compile: src/compile
|
||||
|
||||
define SUBDIR_TEMPLATE
|
||||
$(1)/%:
|
||||
$$(MAKE) -C $(1) $$*
|
||||
$(1)/%: force
|
||||
$(MAKE) -C $(1) $$*
|
||||
endef
|
||||
|
||||
force:
|
||||
|
||||
$(foreach dir,$(SUBDIRS),$(eval $(call SUBDIR_TEMPLATE,$(dir))))
|
||||
|
||||
#.DEFAULT:
|
||||
# $(if $(findstring ./,$(dir $@)),$(error No rule to make target `$@'),$(MAKE) -C $(dir $@) $(notdir $@))
|
||||
|
||||
TAGS: $(shell find * -name "*.c")
|
||||
etags $^
|
||||
TAGS: force
|
||||
etags $(shell find * -name "*.c" -o -name "*.h")
|
||||
|
||||
config:
|
||||
@printf "%30s %s\n" $(foreach var,$(CONFIG_VARS),$(var) $($(var)) )
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue