2004-10-30 01:26:09 +02:00
|
|
|
##===- tools/gccas/Makefile --------------------------------*- Makefile -*-===##
|
2003-10-21 00:29:16 +02:00
|
|
|
#
|
|
|
|
# The LLVM Compiler Infrastructure
|
|
|
|
#
|
2007-12-29 21:07:17 +01:00
|
|
|
# This file is distributed under the University of Illinois Open Source
|
|
|
|
# License. See LICENSE.TXT for details.
|
2003-10-21 00:29:16 +02:00
|
|
|
#
|
|
|
|
##===----------------------------------------------------------------------===##
|
2001-10-31 05:28:11 +01:00
|
|
|
LEVEL = ../..
|
|
|
|
|
|
|
|
include $(LEVEL)/Makefile.common
|
2007-02-02 16:50:58 +01:00
|
|
|
|
|
|
|
install-local:: $(PROJ_bindir)/gccas
|
|
|
|
|
2007-02-04 01:23:51 +01:00
|
|
|
$(PROJ_bindir)/gccas : gccas.sh Makefile
|
2007-02-10 16:14:00 +01:00
|
|
|
$(Echo) Installing gccas shell script.
|
|
|
|
$(Verb) sed "s#@TOOLDIR@#$(PROJ_bindir)#" $< > $@
|
|
|
|
$(Verb) chmod 0755 $@
|
2007-02-02 16:50:58 +01:00
|
|
|
|
|
|
|
all-local:: $(ToolDir)/gccas
|
|
|
|
|
2007-02-04 01:23:51 +01:00
|
|
|
$(ToolDir)/gccas : gccas.sh Makefile
|
2007-02-10 16:14:00 +01:00
|
|
|
$(Echo) Making $(ToolDir)/gccas shell script.
|
|
|
|
$(Verb) sed "s#@TOOLDIR@#$(ToolDir)#" $< > $@
|
|
|
|
$(Verb) chmod 0755 $@
|
2007-02-02 16:50:58 +01:00
|
|
|
|
2007-02-03 17:09:12 +01:00
|
|
|
clean-local::
|
|
|
|
$(Verb)$(RM) -f $(ToolDir)/gccas
|