aboutsummaryrefslogtreecommitdiffstats
path: root/tools/gccas/Makefile
blob: ff84d967798eb84a65e74aa4af08cb7bbb66df82 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
##===- tools/gccas/Makefile --------------------------------*- Makefile -*-===##
# 
#                     The LLVM Compiler Infrastructure
#
# This file 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