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

Subversion Repositories or1k

[/] [or1k/] [trunk/] [uclinux/] [uC-libc/] [net/] [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
CCFLAGS= -O2  -msoft-float -fno-builtin -I../include
12
 
13
ASRC=addr.c
14
AOBJ=inet_aton.o inet_addr.o inet_ntoa.o
15
# raise.o bcmp.o index.o rindex.o
16
 
17
#UOBJ= getenv.o putenv.o popen.o system.o getcwd.o execl.o execv.o execlp.o execvp.o
18
#setenv.o
19
 
20
 
21
OBJ=$(AOBJ)
22
 
23
CFLAGS=$(ARCH) $(CCFLAGS) $(DEFS)
24
 
25
all: $(LIBC)
26
        @$(RM) $(OBJ)
27
 
28
$(LIBC): $(LIBC)($(OBJ))
29
 
30
$(LIBC)($(AOBJ)): $(ASRC)
31
        $(CC) $(CFLAGS) -DL_$* $< -c -o $*.o
32
        $(AR) $(ARFLAGS) $@ $*.o
33
 
34
clean:
35
        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.