Clean this up a bit: hide command unless verbose output requested, echo
[oota-llvm.git] / tools / gccas / Makefile
1 ##===- tools/gccas/Makefile --------------------------------*- Makefile -*-===##
2
3 #                     The LLVM Compiler Infrastructure
4 #
5 # This file was developed by Reid Spencer and is distributed under the
6 # University of Illinois Open Source License. See LICENSE.TXT for details.
7
8 ##===----------------------------------------------------------------------===##
9 LEVEL = ../..
10
11 include $(LEVEL)/Makefile.common
12
13 install-local:: $(PROJ_bindir)/gccas
14         
15 $(PROJ_bindir)/gccas : gccas.sh
16         $(Echo)Installing gccas shell script.
17         $(Verb)sed "s#@TOOLDIR@#$(PROJ_bindir)#" $< > $@
18
19 all-local:: $(ToolDir)/gccas
20         
21 $(ToolDir)/gccas : gccas.sh
22         $(Echo)Making $(ToolDir)/gccas shell script.
23         $(Verb)sed "s#@TOOLDIR@#$(ToolDir)#" $< > $@
24
25 clean-local::
26         $(Verb)$(RM) -f $(ToolDir)/gccas