~ chicken-core (chicken-5) c0e18b68b6b7a48d30435925c214a52a6f35344b
commit c0e18b68b6b7a48d30435925c214a52a6f35344b Author: Peter Bex <Peter.Bex@xs4all.nl> AuthorDate: Sun Sep 5 14:11:04 2010 +0200 Commit: Peter Bex <Peter.Bex@xs4all.nl> CommitDate: Sun Sep 5 14:11:04 2010 +0200 Forgot to add pattern substitution for platform strings (strip "Makefile." from the output) diff --git a/GNUmakefile b/GNUmakefile index 76c1a4d9..140454f9 100644 --- a/GNUmakefile +++ b/GNUmakefile @@ -36,7 +36,7 @@ endif ifndef PLATFORM $(info Please select your target platform by running one of the following commands:) $(info ) -$(foreach mf, $(wildcard Makefile.*), $(info $(MAKE) PLATFORM=$(mf))) +$(foreach mf, $(wildcard Makefile.*), $(info $(MAKE) PLATFORM=$(mf:Makefile.%=%))) $(info ) $(info For more information, consult the README file.) $(error No PLATFORM given.)Trap