mirror of
https://github.com/drasko/codezero.git
synced 2026-01-17 13:23:16 +01:00
Make the coding style more consistent with PEP-8.
This commit is contained in:
@@ -17,17 +17,17 @@
|
||||
#
|
||||
# Author: Russel Winder
|
||||
|
||||
Import ( 'environment' )
|
||||
Import('environment')
|
||||
|
||||
e = environment.Clone ( )
|
||||
e.Append ( CPPPATH = [ 'include' ] )
|
||||
e = environment.Clone()
|
||||
e.Append(CPPPATH = ['include'])
|
||||
|
||||
# TODO: There are errors in this code that -Werror gives problems with.
|
||||
|
||||
e['CCFLAGS'] = [ '-g' , '-nostdlib' , '-Wall' , '-ffreestanding' , '-std=gnu99' ]
|
||||
e['CCFLAGS'] = ['-g', '-nostdlib', '-Wall', '-ffreestanding', '-std=gnu99']
|
||||
|
||||
objects = e.StaticObject ( Glob ( 'src/*.c' ) + Glob ( 'src/' + e['ARCH'] + '/*.[cS]' ) )
|
||||
Depends ( objects , e['configFiles'] )
|
||||
library = e.StaticLibrary ( 'l4' , objects )
|
||||
objects = e.StaticObject(Glob('src/*.c') + Glob('src/' + e['ARCH'] + '/*.[cS]'))
|
||||
Depends(objects, e['configFiles'])
|
||||
library = e.StaticLibrary('l4', objects)
|
||||
|
||||
Return ( 'library' )
|
||||
Return('library')
|
||||
|
||||
Reference in New Issue
Block a user