mirror of
https://github.com/clearlinux/graphene.git
synced 2026-09-05 13:21:37 +00:00
[Makefile.rules] Add comment on how to use rules
This commit is contained in:
committed by
Michał Kowalczyk
parent
204938ee35
commit
124a418fc3
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user