Dan Gohman | f17a25c | 2007-07-18 16:29:46 +0000 | [diff] [blame^] | 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 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 |