Last change
on this file since 19137 was 18956, checked in by tbretz, 7 years ago |
Build files to build mars with cmake (first draft)
|
-
Property svn:executable
set to
*
|
File size:
290 bytes
|
Line | |
---|
1 | #!/bin/bash
|
---|
2 | showvar()
|
---|
3 | {
|
---|
4 | ( grep -v Makefile Makefile; echo -e %.var:\\n\\t@echo $\($*\) ) | make -s -f - ${1}.var
|
---|
5 |
|
---|
6 | #<<'EOF'
|
---|
7 | #include Makefile
|
---|
8 | #
|
---|
9 | #%.var:
|
---|
10 | # @echo $($*)
|
---|
11 | #EOF
|
---|
12 | }
|
---|
13 |
|
---|
14 |
|
---|
15 | STRING=$(showvar SRCFILES)
|
---|
16 |
|
---|
17 | echo -n $(showvar CINT)
|
---|
18 | for file in ${STRING[@]}; do
|
---|
19 | echo -ne \ ${1}/${file}
|
---|
20 | done
|
---|
Note:
See
TracBrowser
for help on using the repository browser.