--- a/Makefile Fri Dec 14 16:51:22 2007 +0100
+++ b/Makefile Mon Dec 17 22:03:50 2007 +0100
@@ -1,7 +1,24 @@
ROOT=$(shell pwd)
include config.mk
-all: python-module demos ccdemos models
+nomodels: libs-float libs-double python-module demos ccdemos
+
+all: nomodels models
+
+.PHONY : all nomodels clean distclean help
+
+help:
+ @echo 'available targets:'
+ @echo ' all make everything'
+ @echo ' nomodels make everything except models'
+ @echo ' models download models'
+ @echo ' python-module build the Python module'
+ @echo ' demos prepare Python demos'
+ @echo ' ccdemos build C++ demos'
+ @echo ' help this help message'
+ @echo ' clean remove auxiliary files and executables'
+ @echo ' distclean remove all non-distribution files (use with care)'
+ @echo 'default target is nomodels'
python-module: libs-float
$(MAKE) -C src python-module
@@ -26,6 +43,11 @@
$(MAKE) -C demos clean
$(MAKE) -C ccdemos clean
+distclean: clean
+ $(MAKE) -C demos distclean
+ $(MAKE) -C ccdemos distclean
+ $(MAKE) -C models distclean
+
# TARGETS
#########