Dan Gohman | f17a25c | 2007-07-18 16:29:46 +0000 | [diff] [blame] | 1 | ##===- tools/gccas/Makefile --------------------------------*- Makefile -*-===## |
| 2 | # |
| 3 | # The LLVM Compiler Infrastructure |
| 4 | # |
Chris Lattner | e692fc8 | 2007-12-29 20:07:17 +0000 | [diff] [blame] | 5 | # This file is distributed under the University of Illinois Open Source |
| 6 | # License. See LICENSE.TXT for details. |
Dan Gohman | f17a25c | 2007-07-18 16:29:46 +0000 | [diff] [blame] | 7 | # |
| 8 | ##===----------------------------------------------------------------------===## |
| 9 | LEVEL = ../.. |
| 10 | |
| 11 | include $(LEVEL)/Makefile.common |
| 12 | |
| 13 | install-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 | |
| 20 | all-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 | |
| 27 | clean-local:: |
| 28 | $(Verb)$(RM) -f $(ToolDir)/gccas |