blob: ad92e5ac64d900e04ed33433fa3f93a00a9f3b89 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
|
#!/bin/csh -f
## LLVMDIR is simply the directory where this script resides!
set THISEXEC = $0 ## cannot use :h on $0 for some reason
set LLVMDIR = $THISEXEC:h
set EXEC = opt
if ($#argv > 0) then
if ($argv[1] == "-h") then
echo 'USAGE: makellvm [toolname] (toolname defaults to "opt").'
exit 0
endif
set EXEC = $argv[1]
endif
gnumake && (cd $LLVMDIR/tools/$EXEC && gnumake)
|