Module: sip-router
Branch: master
Commit: c7566f661584f1628e4c7beb30512b2301521d04
URL:
http://git.sip-router.org/cgi-bin/gitweb.cgi/sip-router/?a=commit;h=c7566f6…
Author: Daniel-Constantin Mierla <miconda(a)gmail.com>
Committer: Daniel-Constantin Mierla <miconda(a)gmail.com>
Date: Fri Nov 25 23:46:31 2011 +0100
Makefile: option to print C compile flags
- print with no EOL the module interface flag in Makefile.modules
---
Makefile | 4 ++++
Makefile.modules | 2 +-
2 files changed, 5 insertions(+), 1 deletions(-)
diff --git a/Makefile b/Makefile
index 8606ab4..1ea0050 100644
--- a/Makefile
+++ b/Makefile
@@ -1189,3 +1189,7 @@ dbschema:
-@echo "Build database schemas"
$(MAKE) -C lib/srdb1/schema
-@echo "Done"
+
+.PHONY: printcdefs
+printcdefs:
+ @echo -n $(C_DEFS)
diff --git a/Makefile.modules b/Makefile.modules
index 303a7af..cd391e6 100644
--- a/Makefile.modules
+++ b/Makefile.modules
@@ -307,7 +307,7 @@ endif
printmiface:
- @echo $(MODIFACE)
+ @echo -n $(MODIFACE)
endif # ifeq($(makefile_defs),1)