blob: ff84d967798eb84a65e74aa4af08cb7bbb66df82 [file] [log] [blame]
Dan Gohmanf17a25c2007-07-18 16:29:46 +00001##===- tools/gccas/Makefile --------------------------------*- Makefile -*-===##
2#
3# The LLVM Compiler Infrastructure
4#
Chris Lattnere692fc82007-12-29 20:07:17 +00005# This file is distributed under the University of Illinois Open Source
6# License. See LICENSE.TXT for details.
Dan Gohmanf17a25c2007-07-18 16:29:46 +00007#
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