Przeglądaj źródła

Makefile: option to print C compile flags

- print with no EOL the module interface flag in Makefile.modules
Daniel-Constantin Mierla 13 lat temu
rodzic
commit
c7566f6615
2 zmienionych plików z 5 dodań i 1 usunięć
  1. 4 0
      Makefile
  2. 1 1
      Makefile.modules

+ 4 - 0
Makefile

@@ -1189,3 +1189,7 @@ dbschema:
 	-@echo "Build database schemas"
 	$(MAKE) -C lib/srdb1/schema
 	-@echo "Done"
+
+.PHONY: printcdefs
+printcdefs:
+	@echo -n $(C_DEFS)

+ 1 - 1
Makefile.modules

@@ -307,7 +307,7 @@ endif
 
 
 printmiface:
-	@echo $(MODIFACE)
+	@echo -n $(MODIFACE)
 
 endif # ifeq($(makefile_defs),1)