[teklib-general] changeset in /hg/teklib/current: Improved top-level Makefile

Timm S. Mueller tmueller at neoscientists.org
Mon Nov 26 16:22:13 CET 2007


changeset 56e82d2d09cc in /hg/teklib/current
details: http://teklib.org:8001/hg/teklib/current?cmd=changeset;node=56e82d2d09cc
description:
	Improved top-level Makefile

diffs (39 lines):

diff -r b16fc54c855e -r 56e82d2d09cc Makefile
--- a/Makefile	Sun Sep 02 23:07:05 2007 +0200
+++ b/Makefile	Sun Sep 02 23:35:44 2007 +0200
@@ -5,23 +5,19 @@ PLATFORM ?= linux
 ###############################################################################
 
 help:
-	@echo "*****************************************************************************"
-	@echo "* CONFIGURATION:"
-	@echo "*   TEKlib     : $(TEKLIB)"
-	@echo "*   Platform   : $(PLATFORM)"
-	@echo "* MAIN TARGETS:"
-	@echo "*   $(PLATFORM), release, install, debug, clean, make, distclean"
-	@echo "* PLATFORM-SPECIFIC TARGETS:"
-	@echo "*   fbsd[_release|_install|_debug|_clean|_make] ......: FreeBSD, GCC"
-	@echo "*   linux[_release|_install|_debug|_clean|_make] .....: GNU/Linux, GCC"
-	@echo "*   winnt_gcc[_release|_install|_debug|_clean|_make] .: WinNT/2k/XP, MinGW"
-	@echo "* NOTES:"
-	@echo "*   After the generation of makefiles, to locally (re-)build a project,"
-	@echo "*   you can invoke from here (as well as from any subdirectory):"
-	@echo "*   make -f build/tmk_platform_host_...]"
-	@echo "*****************************************************************************"
+	@echo
+	@echo "Targets ................. TEKLIB=$(TEKLIB) PLATFORM=$(PLATFORM)"
+	@echo "-----------------------------------------------------------------------------"
+	@echo "all $(PLATFORM) ............... default build"
+	@echo "release ................. release build"
+	@echo "debug ................... debug build"
+	@echo "install ................. install"
+	@echo "clean ................... remove executables, modules, object files"
+	@echo "distclean ............... remove all temporary files"
+	@echo "make .................... regenerate makefiles"
+	@echo
 
-all: help
+all: $(PLATFORM)
 
 ###############################################################################
 


More information about the teklib-general mailing list