| Last change
 on this file since 1504 was             1442, checked in by Malte Marquarding, 17 years ago | 
        
          | 
replace deprecated env.Copy
 | 
        
          | File size:
            355 bytes | 
      
      
| Line |  | 
|---|
| 1 | import os,glob,shutil | 
|---|
| 2 |  | 
|---|
| 3 | # import root environment | 
|---|
| 4 | Import( "env") | 
|---|
| 5 | myenv = env.Clone() | 
|---|
| 6 |  | 
|---|
| 7 | # gather cpp files | 
|---|
| 8 | cpps = env.SGlob("*.cpp") | 
|---|
| 9 |  | 
|---|
| 10 | # location of libcasav.a | 
|---|
| 11 | myenv.Prepend( LIBPATH = ['#/build'] ) | 
|---|
| 12 | myenv.Prepend( CPPPATH = ['#/build'] ) | 
|---|
| 13 | myenv.Append(CCFLAGS = ["-DWCSLIB_GETWCSTAB"]) | 
|---|
| 14 | myenv.Prepend(LIBS =  ['asap']) | 
|---|
| 15 |  | 
|---|
| 16 | for cpp in cpps: | 
|---|
| 17 | myenv.Program(cpp) | 
|---|
| 18 |  | 
|---|
       
      
  Note:
 See   
TracBrowser
 for help on using the repository browser.