mirror of
https://github.com/RPCS3/llvm-mirror.git
synced 2024-12-14 07:09:08 +00:00
b3d0d57038
llvm-svn: 3730
17 lines
394 B
Tcsh
Executable File
17 lines
394 B
Tcsh
Executable File
#!/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)
|