OpenCores
URL https://opencores.org/ocsvn/openrisc/openrisc/trunk

Subversion Repositories openrisc

[/] [openrisc/] [trunk/] [gnu-stable/] [gcc-4.5.1/] [libgcc/] [static-object.mk] - Blame information for rev 854

Go to most recent revision | Details | Compare with Previous | View Log

Line No. Rev Author Line
1 272 jeremybenn
# This file is included several times in a row, once for each element of
2
# $(iter-items).  On each inclusion, we advance $o to the next element.
3
 
4
o := $(firstword $(iter-items))
5
iter-items := $(filter-out $o,$(iter-items))
6
 
7
base := $(basename $(notdir $o))
8
 
9
ifeq ($(suffix $o),.c)
10
 
11
$(base)$(objext): $o
12
        $(gcc_compile) $(c_flags) -c $< $(vis_hide)
13
 
14
else
15
 
16
ifneq ($(suffix $o),.S)
17
ifneq ($(suffix $o),.asm)
18
$(error Unsupported file type: $o)
19
endif
20
endif
21
 
22
$(base)$(objext): $o
23
        $(gcc_compile) -c -xassembler-with-cpp $<
24
 
25
endif

powered by: WebSVN 2.1.0

© copyright 1999-2024 OpenCores.org, equivalent to Oliscience, all rights reserved. OpenCores®, registered trademark.