Source code

Revision control

Copy as Markdown

Other Tools

# Any copyright is dedicated to the Public Domain.
@template
def Library(name):
LIBRARY_NAME = name
@template
def SharedLibrary(name):
FORCE_SHARED_LIB = True
LIBRARY_NAME = name
@template
def Binary():
# Add -lfoo for testing purposes.
OS_LIBS += ["foo"]
@template
def Program(name):
PROGRAM = name
Binary()