diff options
author | Chris Lattner <sabre@nondot.org> | 2001-09-07 22:59:25 +0000 |
---|---|---|
committer | Chris Lattner <sabre@nondot.org> | 2001-09-07 22:59:25 +0000 |
commit | c9744e7f269ec8003b64c39c6c9e62f0b6c33a5a (patch) | |
tree | 70171baa0239c3fe93146e5b958366d6b5124c01 /tools/opt/Makefile | |
parent | f074cfc59e058b4ccee260f5434c6af4c50487af (diff) | |
download | external_llvm-c9744e7f269ec8003b64c39c6c9e62f0b6c33a5a.zip external_llvm-c9744e7f269ec8003b64c39c6c9e62f0b6c33a5a.tar.gz external_llvm-c9744e7f269ec8003b64c39c6c9e62f0b6c33a5a.tar.bz2 |
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/Makefile | 10 |
1 files changed, 3 insertions, 7 deletions
diff --git a/tools/opt/Makefile b/tools/opt/Makefile index 658b299..d374f0a 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 |