Subversion Repositories idreammicro-avr

Rev

Rev 2 | Go to most recent revision | Blame | Compare with Previous | Last modification | View Log | Download | RSS feed

# Import environment set for target.
Import('env_target', 'env_name', 'DEVICE')

# 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_name])
env_target.Append(LIBS = [ TARGET ])