The Go Programming Language

Text file src/cmd/5l/Makefile

     1	# Copyright 2009 The Go Authors. All rights reserved.
     2	# Use of this source code is governed by a BSD-style
     3	# license that can be found in the LICENSE file.
     4	
     5	include ../../Make.inc
     6	O:=$(HOST_O)
     7	
     8	TARG=5l
     9	
    10	OFILES=\
    11		asm.$O\
    12		data.$O\
    13		elf.$O\
    14		enam.$O\
    15		ldelf.$O\
    16		ldmacho.$O\
    17		ldpe.$O\
    18		lib.$O\
    19		list.$O\
    20		noop.$O\
    21		obj.$O\
    22		optab.$O\
    23		pass.$O\
    24		prof.$O\
    25		softfloat.$O\
    26		span.$O\
    27		symtab.$O\
    28		go.$O\
    29	
    30	HFILES=\
    31		l.h\
    32		5.out.h\
    33		../ld/elf.h\
    34	
    35	include ../../Make.ccmd
    36	
    37	enam.c: 5.out.h
    38		sh mkenam
    39	
    40	CLEANFILES+=enam.c
    41	
    42	%.$O: ../ld/%.c
    43		$(HOST_CC) $(HOST_CFLAGS) -c -I. ../ld/$*.c

release.r60.3. Except as noted, this content is licensed under a Creative Commons Attribution 3.0 License.