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

Subversion Repositories or1k

[/] [or1k/] [trunk/] [uclinux/] [uC-libc/] [malloc-simple/] [Makefile] - Blame information for rev 1778

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

Line No. Rev Author Line
1 199 simons
# Copyright (C) 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 -I../include
12
 
13
 
14
MSRC=alloc.c
15
MOBJ=malloc.o free.o calloc.o malloc_dbg.o free_dbg.o calloc_dbg.o
16
 
17
OBJ=$(MOBJ)
18
 
19
CFLAGS=$(ARCH) $(CCFLAGS) $(DEFS)
20
 
21
all: $(LIBC)
22
        @$(RM) $(OBJ)
23
 
24
$(LIBC): $(LIBC)($(OBJ))
25
 
26
$(LIBC)($(MOBJ)): $(MSRC)
27
        $(CC) $(CFLAGS) -DL_$* $< -c -o $*.o
28
        $(AR) $(ARFLAGS) $@ $*.o
29
 
30
clean:
31
        rm -f *.o libc.a
32
 
33
 

powered by: WebSVN 2.1.0

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