summaryrefslogtreecommitdiff
path: root/tools/opt/Makefile
diff options
context:
space:
mode:
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