# Import environment set for target. Import('env_target') # Set target name. TARGET = 'clock' # Set libraries to use. libraries = [ 'deuligne', 'ds1307', 'mcp23008', 'adc', 'twi', 'usart' ] # Set source file. sources = 'clock.c' # Build project and libraries. env_target.BuildProject(libraries, sources, TARGET) # Compute memory usage. env_target.ComputeMemoryUsage(TARGET)