Sped up charset parsing; fixed choice operator

This commit is contained in:
Dan Hirsch 2012-05-04 21:23:56 +01:00
parent a076c4d12c
commit 2af69dd8f9
5 changed files with 81 additions and 39 deletions

View file

@ -11,6 +11,9 @@ SUBDIRS = src \
%:
+for dir in $(SUBDIRS); do $(MAKE) -C $${dir} $@; done
test: src/test_suite
$<
define SUBDIR_TEMPLATE
$(1)/%:
$$(MAKE) -C $(1) $$*
@ -19,4 +22,4 @@ endef
$(foreach dir,$(SUBDIRS),$(eval $(call SUBDIR_TEMPLATE,$(dir))))
#.DEFAULT:
# $(if $(findstring ./,$(dir $@)),$(error No rule to make target `$@'),$(MAKE) -C $(dir $@) $(notdir $@))
# $(if $(findstring ./,$(dir $@)),$(error No rule to make target `$@'),$(MAKE) -C $(dir $@) $(notdir $@))