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

Subversion Repositories or1k

[/] [or1k/] [trunk/] [uclinux/] [uC-libc/] [sysdeps/] [Makefile] - Blame information for rev 1765

Details | Compare with Previous | View Log

Line No. Rev Author Line
1 199 simons
# Copyright (C) 1995,1996 Robert de Bath 
2
# This file is part of the Linux-8086 C library and is distributed
3
# under the GNU Library General Public License.
4
 
5
LIBC=../libc.a
6
 
7
CC=or32-elf-gcc
8
AR=or32-elf-ar
9
RANLIB=or32-elf-ranlib
10
 
11
CFLAGS= -O2  -msoft-float -D__linux__ -I../include -I.
12
 
13
.S.s:
14
        $(CC) $(CFLAGS) -D__ASSEMBLY__ -traditional -E -o $*.s $<
15
.S.o:
16
        $(CC) $(CFLAGS) -c -o $*.o $<
17
 
18
include makefile.objs
19
 
20
all: $(LIBC)
21
 
22
$(LIBC): $(OBJ)
23
        $(AR) $(ARFLAGS) $@ $(OBJ)
24
        @$(RM) $(OBJ)
25
 
26
transfer:
27
        -@rm -f ../include/stdio.h
28
        cp -p stdio.h ../include/.
29
 
30
clean:
31
        rm -f *.o libc.a

powered by: WebSVN 2.1.0

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