source: EcnlProtoTool/trunk/mruby-1.2.0/mrbgems/mruby-bin-mruby-config/mruby-config@ 321

Last change on this file since 321 was 270, checked in by coas-nagasima, 7 years ago

mruby版ECNLプロトタイピング・ツールを追加

File size: 661 bytes
Line 
1#!/bin/sh
2
3while [ $# -gt 0 ]; do
4 case $1 in
5 --cflags) echo MRUBY_CFLAGS;;
6 --ldflags) echo MRUBY_LDFLAGS;;
7 --ldflags-before-libs) echo MRUBY_LDFLAGS_BEFORE_LIBS;;
8 --libs) echo MRUBY_LIBS;;
9 --help) echo "Usage: mruby-config [switches]"
10 echo " switches:"
11 echo " --cflags print flags passed to compiler"
12 echo " --ldflags print flags passed to linker"
13 echo " --ldflags-before-libs print flags passwd to linker before linked libraries"
14 echo " --libs print linked libraries"
15 exit 0;;
16 esac
17 shift
18done
Note: See TracBrowser for help on using the repository browser.