blob: ad92e5ac64d900e04ed33433fa3f93a00a9f3b89 [file] [log] [blame]
#!/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)