Explorar o código

[Makefile.rules] Add comment on how to use rules

Isaku Yamahata %!s(int64=6) %!d(string=hai) anos
pai
achega
124a418fc3
Modificáronse 1 ficheiros con 10 adicións e 0 borrados
  1. 10 0
      Makefile.rules

+ 10 - 0
Makefile.rules

@@ -1,3 +1,13 @@
+#
+# All Makefiles must follow the following conventions:
+#
+# - Compilation and linking steps must be done via the 'cmd' function:
+#   e.g., use '$(call cmd,ld_so_o)' to create a shared library using LD
+#
+# - File-specific build flags must be specified via variables of the format 'FLAG-filename':
+#   e.g., use 'LDFLAGS-libsysdb.so=...' to specify libsysdb.so-specific linker flags
+#
+
 ifeq ("$(origin V)", "command line")
   BUILD_VERBOSE = $(V)
 endif