Skip to content

Commit 688b93a

Browse files
committed
Test simpler form of corrected SConstruct
1 parent 20ccb58 commit 688b93a

File tree

1 file changed

+2
-7
lines changed

1 file changed

+2
-7
lines changed

SConstruct

Lines changed: 2 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -10,17 +10,12 @@ To run the compilation for all implmeentations in one language, e.g. Rust, run t
1010
from pathlib import Path
1111
import os
1212

13-
env = Environment(ENV={'PATH': os.environ['PATH']})
14-
15-
env['CC'] = 'gcc'
16-
for tool in ['gcc','gnulink']:
17-
env.Tool(tool)
18-
env['CCFLAGS']=''
13+
env = Environment(ENV={'PATH': os.environ['PATH']}, tools=['gcc', 'default'])
1914

2015
# Add other languages here when you want to add language targets
2116
languages = ['c']
2217

2318
env.C = env.Program
2419

2520
SConscript('SConscript', exports='env languages')
26-
21+
Default('build/c')

0 commit comments

Comments
 (0)