mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2025-02-08 21:32:39 +00:00
d748ea32db
of a shell script to stand in its place. The shell script just pawns the execution off to llvm-ld. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@34090 91177308-0d34-0410-b5e6-96231b3b80d8
30 lines
855 B
Makefile
30 lines
855 B
Makefile
##===- tools/gccld/Makefile --------------------------------*- Makefile -*-===##
|
|
#
|
|
# The LLVM Compiler Infrastructure
|
|
#
|
|
# This file was developed by the LLVM research group 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)/gccld
|
|
|
|
$(PROJ_bindir)/gccld : gccld.sh Makefile
|
|
$(Echo)Installing gccld shell script.
|
|
$(Verb)sed "s#@TOOLDIR@#$(PROJ_bindir)#" $< > $@
|
|
$(Verb)chmod 0755 $@
|
|
|
|
all-local:: $(ToolDir)/gccld
|
|
|
|
$(ToolDir)/gccld : gccld.sh Makefile
|
|
$(Echo)Making $(ToolDir)/gccld shell script.
|
|
$(Verb)sed "s#@TOOLDIR@#$(ToolDir)#" $< > $@
|
|
$(Verb)chmod 0755 $@
|
|
|
|
clean-local::
|
|
$(Verb)$(RM) -f $(ToolDir)/gccld
|