Rev 3 | Go to most recent revision | Blame | Compare with Previous | Last modification | View Log | Download | RSS feed
# Import environment set for target.
Import('env_target')
# Define target name.
TARGET = 'digital_io'
# Define source files.
sources = [
'digital_io.c'
]
# Build static library.
env_target.StaticLibrary(target = TARGET, source = sources)
# Append LIBPATH and LIBS.
env_target.Append(LIBPATH = [ '#build/' + '/libraries/' + TARGET + '/' + env_target['NAME']])
env_target.Append(LIBS = [ TARGET ])