summaryrefslogtreecommitdiff
path: root/tools/opt/Makefile
diff options
context:
space:
mode:
authorChris Lattner <sabre@nondot.org>2001-09-07 22:59:25 +0000
committerChris Lattner <sabre@nondot.org>2001-09-07 22:59:25 +0000
commitc9744e7f269ec8003b64c39c6c9e62f0b6c33a5a (patch)
tree70171baa0239c3fe93146e5b958366d6b5124c01 /tools/opt/Makefile
parentf074cfc59e058b4ccee260f5434c6af4c50487af (diff)
downloadllvm-c9744e7f269ec8003b64c39c6c9e62f0b6c33a5a.tar.gz
llvm-c9744e7f269ec8003b64c39c6c9e62f0b6c33a5a.tar.bz2
llvm-c9744e7f269ec8003b64c39c6c9e62f0b6c33a5a.tar.xz
Make use of the new TOOLNAME/USEDLIBS options provided in Makefile.common
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@501 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'tools/opt/Makefile')
-rw-r--r--tools/opt/Makefile10
1 files changed, 3 insertions, 7 deletions
diff --git a/tools/opt/Makefile b/tools/opt/Makefile
index 658b2998ec..d374f0a76d 100644
--- a/tools/opt/Makefile
+++ b/tools/opt/Makefile
@@ -1,10 +1,6 @@
LEVEL = ../..
-include $(LEVEL)/Makefile.common
+TOOLNAME = opt
+USEDLIBS = opt bcreader bcwriter asmwriter analysis vmcore support
-all:: opt
-clean ::
- rm -f opt
+include $(LEVEL)/Makefile.common
-opt : $(ObjectsG) ../../lib/Optimizations/Debug/libopt.a
- $(LinkG) -o $@ $(ObjectsG) -lopt -lbcreader -lbcwriter \
- -lasmwriter -lanalysis -lvmcore -lsupport