Misha Brukman | b188393 | 2004-10-29 23:26:09 +0000 | [diff] [blame] | 1 | ##===- tools/gccas/Makefile --------------------------------*- Makefile -*-===## |
John Criswell | e2fab73 | 2003-10-20 22:29:16 +0000 | [diff] [blame] | 2 | # |
| 3 | # The LLVM Compiler Infrastructure |
| 4 | # |
Chris Lattner | 5116784 | 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. |
John Criswell | e2fab73 | 2003-10-20 22:29:16 +0000 | [diff] [blame] | 7 | # |
| 8 | ##===----------------------------------------------------------------------===## |
Chris Lattner | ecbde33 | 2001-10-31 04:28:11 +0000 | [diff] [blame] | 9 | LEVEL = ../.. |
| 10 | |
Chris Lattner | ecbde33 | 2001-10-31 04:28:11 +0000 | [diff] [blame] | 11 | include $(LEVEL)/Makefile.common |
Reid Spencer | bd70c0b | 2007-02-02 15:50:58 +0000 | [diff] [blame] | 12 | |
| 13 | install-local:: $(PROJ_bindir)/gccas |
| 14 | |
Reid Spencer | a3e6062 | 2007-02-04 00:23:51 +0000 | [diff] [blame] | 15 | $(PROJ_bindir)/gccas : gccas.sh Makefile |
Reid Spencer | ead1aea | 2007-02-10 15:14:00 +0000 | [diff] [blame] | 16 | $(Echo) Installing gccas shell script. |
| 17 | $(Verb) sed "s#@TOOLDIR@#$(PROJ_bindir)#" $< > $@ |
| 18 | $(Verb) chmod 0755 $@ |
Reid Spencer | bd70c0b | 2007-02-02 15:50:58 +0000 | [diff] [blame] | 19 | |
| 20 | all-local:: $(ToolDir)/gccas |
| 21 | |
Reid Spencer | a3e6062 | 2007-02-04 00:23:51 +0000 | [diff] [blame] | 22 | $(ToolDir)/gccas : gccas.sh Makefile |
Reid Spencer | ead1aea | 2007-02-10 15:14:00 +0000 | [diff] [blame] | 23 | $(Echo) Making $(ToolDir)/gccas shell script. |
| 24 | $(Verb) sed "s#@TOOLDIR@#$(ToolDir)#" $< > $@ |
| 25 | $(Verb) chmod 0755 $@ |
Reid Spencer | bd70c0b | 2007-02-02 15:50:58 +0000 | [diff] [blame] | 26 | |
Reid Spencer | c74913c | 2007-02-03 16:09:12 +0000 | [diff] [blame] | 27 | clean-local:: |
| 28 | $(Verb)$(RM) -f $(ToolDir)/gccas |