Subversion Repositories idreammicro-avr

Rev

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', '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/' + env_name + '/libraries/' + TARGET + '/src'])
env_target.Append(LIBS = [ TARGET ])