blob: f3482959fdc3413dd79a531b3f128b5b15501ec2 [file] [log] [blame]
Dan Gohmanf17a25c2007-07-18 16:29:46 +00001##===- tools/gccld/Makefile --------------------------------*- Makefile -*-===##
2#
3# The LLVM Compiler Infrastructure
4#
5# This file was developed by the LLVM research group and is distributed under
6# the University of Illinois Open Source License. See LICENSE.TXT for details.
7#
8##===----------------------------------------------------------------------===##
9
10LEVEL = ../..
11
12include $(LEVEL)/Makefile.common
13
14install-local:: $(PROJ_bindir)/gccld
15
16$(PROJ_bindir)/gccld : gccld.sh Makefile
17 $(Echo) Installing gccld shell script.
18 $(Verb) sed "s#@TOOLDIR@#$(PROJ_bindir)#" $< > $@
19 $(Verb) chmod 0755 $@
20
21all-local:: $(ToolDir)/gccld
22
23$(ToolDir)/gccld : gccld.sh Makefile
24 $(Echo) Making $(ToolDir)/gccld shell script.
25 $(Verb) sed "s#@TOOLDIR@#$(ToolDir)#" $< > $@
26 $(Verb) chmod 0755 $@
27
28clean-local::
29 $(Verb)$(RM) -f $(ToolDir)/gccld