1 ##===- tools/gccld/Makefile --------------------------------*- Makefile -*-===##
3 # The LLVM Compiler Infrastructure
5 # This file is distributed under the University of Illinois Open Source
6 # License. See LICENSE.TXT for details.
8 ##===----------------------------------------------------------------------===##
12 include $(LEVEL)/Makefile.common
14 install-local:: $(PROJ_bindir)/gccld
16 $(PROJ_bindir)/gccld : gccld.sh Makefile
17 $(Echo) Installing gccld shell script.
18 $(Verb) sed "s#@TOOLDIR@#$(PROJ_bindir)#" $< > $@
21 all-local:: $(ToolDir)/gccld
23 $(ToolDir)/gccld : gccld.sh Makefile
24 $(Echo) Making $(ToolDir)/gccld shell script.
25 $(Verb) sed "s#@TOOLDIR@#$(ToolDir)#" $< > $@
29 $(Verb)$(RM) -f $(ToolDir)/gccld