/elec/propeller-clock

To get this branch, use:
bzr branch http://bzr.ed.am/elec/propeller-clock

« back to all changes in this revision

Viewing changes to src/utility/Jamfile

  • Committer: edam
  • Date: 2012-02-28 16:50:26 UTC
  • Revision ID: edam@waxworlds.org-20120228165026-pwnwo300xx2e2kg6
removed ulibc, fixed button, added text rendering

Show diffs side-by-side

added added

removed removed

1
 
UCLIBCPP_DIR    = $(HOME)/Source/uClibc++ ;
2
 
 
3
 
rule FixCopy
4
 
{
5
 
        Depends $(<) : $(>) ;
6
 
        Clean clean : $(<) ;
7
 
        Depends all : $(<) ;
8
 
}
9
 
 
10
 
actions FixCopy
11
 
{
12
 
        sed -e "s/<utility>/<utility.h>/g" $(>) > $(<)
13
 
}
14
 
 
15
 
for file in [ GLOB $(UCLIBCPP_DIR)/include : [^.]* ]
16
 
{
17
 
        local _o = $(file:D=$(PWD)) ;
18
 
        if ( $(file:B) = "utility" )
19
 
        {
20
 
                _o = $(_o:S=.h) ;
21
 
        }       
22
 
        FixCopy $(_o) : $(file) ;
23
 
}
24
 
 
25
 
for file in [ GLOB $(UCLIBCPP_DIR)/src : *.cpp ]
26
 
{
27
 
        local _o = $(file:D=$(PWD)) ;
28
 
        FixCopy $(_o) : $(file) ;
29
 
}