diff options
Diffstat (limited to 'tools/gccas/Makefile')
-rw-r--r-- | tools/gccas/Makefile | 28 |
1 files changed, 28 insertions, 0 deletions
diff --git a/tools/gccas/Makefile b/tools/gccas/Makefile new file mode 100644 index 0000000..1dc7ecd --- /dev/null +++ b/tools/gccas/Makefile @@ -0,0 +1,28 @@ +##===- tools/gccas/Makefile --------------------------------*- Makefile -*-===## +# +# The LLVM Compiler Infrastructure +# +# This file was developed by Reid Spencer and is distributed under the +# University of Illinois Open Source License. See LICENSE.TXT for details. +# +##===----------------------------------------------------------------------===## +LEVEL = ../.. + +include $(LEVEL)/Makefile.common + +install-local:: $(PROJ_bindir)/gccas + +$(PROJ_bindir)/gccas : gccas.sh Makefile + $(Echo) Installing gccas shell script. + $(Verb) sed "s#@TOOLDIR@#$(PROJ_bindir)#" $< > $@ + $(Verb) chmod 0755 $@ + +all-local:: $(ToolDir)/gccas + +$(ToolDir)/gccas : gccas.sh Makefile + $(Echo) Making $(ToolDir)/gccas shell script. + $(Verb) sed "s#@TOOLDIR@#$(ToolDir)#" $< > $@ + $(Verb) chmod 0755 $@ + +clean-local:: + $(Verb)$(RM) -f $(ToolDir)/gccas |