source: trunk/Mars/Makefile.extract.sh@ 19975

Last change on this file since 19975 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
2showvar()
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
15STRING=$(showvar SRCFILES)
16
17echo -n $(showvar CINT)
18for file in ${STRING[@]}; do
19 echo -ne \ ${1}/${file}
20done
Note: See TracBrowser for help on using the repository browser.