diff -r 89b41dbffe8d -r 7987069e8312 samples/Makefile --- a/samples/Makefile Mon May 07 09:04:02 2007 +0000 +++ b/samples/Makefile Tue May 08 10:57:34 2007 +0000 @@ -1,16 +1,14 @@ # Build a list of all available samples -SAMPLES = $(patsubst $(CT_TOP_DIR)/samples/%,%,$(filter-out %Makefile,$(wildcard $(CT_TOP_DIR)/samples/*))) +CT_SAMPLES = $(patsubst $(CT_TOP_DIR)/samples/%/crosstool.config,%,$(filter-out %Makefile,$(wildcard $(CT_TOP_DIR)/samples/*/crosstool.config))) .PHONY: $(SAMPLES) -$(SAMPLES): +$(CT_SAMPLES): @cp "$(CT_TOP_DIR)/samples/$(@)/crosstool.config" "$(CT_TOP_DIR)/.config" @$(MAKE) oldconfig help:: @echo 'Preconfigured targets:' - @for s in $(SAMPLES); do \ - echo " $${s}"; \ - done + @$(CT_TOP_DIR)/scripts/showSamples.sh $(CT_SAMPLES) @echo '' saveconfig: