blob: 1dc7ecd80e6ed01b1c03b0cb935751cc80e2e7e1 [file] [log] [blame]
Dan Gohmanf17a25c2007-07-18 16:29:46 +00001##===- 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##===----------------------------------------------------------------------===##
9LEVEL = ../..
10
11include $(LEVEL)/Makefile.common
12
13install-local:: $(PROJ_bindir)/gccas
14
15$(PROJ_bindir)/gccas : gccas.sh Makefile
16 $(Echo) Installing gccas shell script.
17 $(Verb) sed "s#@TOOLDIR@#$(PROJ_bindir)#" $< > $@
18 $(Verb) chmod 0755 $@
19
20all-local:: $(ToolDir)/gccas
21
22$(ToolDir)/gccas : gccas.sh Makefile
23 $(Echo) Making $(ToolDir)/gccas shell script.
24 $(Verb) sed "s#@TOOLDIR@#$(ToolDir)#" $< > $@
25 $(Verb) chmod 0755 $@
26
27clean-local::
28 $(Verb)$(RM) -f $(ToolDir)/gccas