Subversion Repositories idreammicro-avr

Rev

Rev 3 | Go to most recent revision | Details | Compare with Previous | Last modification | View Log | RSS feed

Rev Author Line No. Line
2 jlesech 1
# Import environment set for target.
6 jlesech 2
Import('env_target')
2 jlesech 3
 
4
# Define target name.
5
TARGET = 'digital_io'
6
 
7
# Define source files.
8
sources = [
9
    'digital_io.c'
10
]
11
 
12
# Build static library.
13
env_target.StaticLibrary(target = TARGET, source = sources)
14
 
15
# Append LIBPATH and LIBS.
6 jlesech 16
env_target.Append(LIBPATH = [ '#build/' + '/libraries/' + TARGET + '/' + env_target['NAME']])
2 jlesech 17
env_target.Append(LIBS = [ TARGET ])