Makefile più artistico.

Leonardo [2010-04-06 15:07]
Makefile più artistico.
Filename
Filtering/Makefile
diff --git a/Filtering/Makefile b/Filtering/Makefile
index 6fc2b05..b5c8379 100644
--- a/Filtering/Makefile
+++ b/Filtering/Makefile
@@ -2,11 +2,15 @@ F2PY=f2py
 MODULE_NAME=fast_filters
 SOURCE_FILES=fast_filters.f90
 OBJ_FILES=*.so *.pyc
+STAG=\033[32;1m
+ETAG=\033[0m

 all: fast_filters.so

 fast_filters.so:
-	$(F2PY) --quiet -c -m $(MODULE_NAME) $(SOURCE_FILES)
+	@echo " $(STAG)F2PY$(ETAG)   $(SOURCE_FILES)"
+	@$(F2PY) --quiet -c -m $(MODULE_NAME) $(SOURCE_FILES) > /dev/null

 clean:
-	rm -f $(OBJ_FILES)
+	@echo " $(STAG)CLEAN$(ETAG)  $(OBJ_FILES)"
+	@rm -f $(OBJ_FILES)
ViewGit