# Import environment set for target. Import('env_target') # Define target name. TARGET = 'ds1307' # Define source files. sources = [ 'ds1307.c' ] # Build library. env_target.BuildLibrary(sources, TARGET)