llvm-6502/utils/makellvm
Vikram S. Adve d3448cd7a6 Fix to work in new location (utils/) and to use gmake instead of gnumake
since gnumake doesn't exist on our new spiffy Linux machines.


git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@3815 91177308-0d34-0410-b5e6-96231b3b80d8
2002-09-18 23:22:27 +00:00

17 lines
420 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 = `echo {$thisExec:h} | sed 's/\/utils$//'`
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
gmake && (cd $LLVMDIR/tools/$EXEC && gmake)