mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2024-11-01 15:11:24 +00:00
2d456601d8
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@3730 91177308-0d34-0410-b5e6-96231b3b80d8
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)
|