summaryrefslogtreecommitdiff
path: root/tools/as
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/as
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/as')
-rw-r--r--tools/as/Makefile10
1 files changed, 3 insertions, 7 deletions
diff --git a/tools/as/Makefile b/tools/as/Makefile
index 74bfc6844f..b1d71e05b0 100644
--- a/tools/as/Makefile
+++ b/tools/as/Makefile
@@ -1,10 +1,6 @@
LEVEL = ../..
-include $(LEVEL)/Makefile.common
-all:: as
-clean::
- rm -f as
+TOOLNAME = as
+USEDLIBS = asmparser bcwriter asmwriter analysis vmcore support
-as : $(ObjectsG) ../../lib/Assembly/Parser/Debug/libasmparser.a \
- ../../lib/VMCore/Debug/libvmcore.a
- $(LinkG) -o as $(ObjectsG) -lasmparser -lbcwriter -lasmwriter -lanalysis -lvmcore -lsupport
+include $(LEVEL)/Makefile.common