blob: b083b2e85237b95f4cd64ba584d7a949b78175a4 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
|
# Copyright (C) 1995,1996 Robert de Bath <rdebath@cix.compulink.co.uk>
# This file is part of the Linux-8086 C library and is distributed
# under the GNU Library General Public License.
ASRC=malloc.c
AOBJ=malloc.o alloca.o free.o calloc.o realloc.o
CFLAGS=$(ARCH) $(CCFLAGS) $(DEFS)
all: $(LIBC)($(AOBJ))
@$(RM) $(OBJ)
$(LIBC)($(AOBJ)): $(ASRC)
$(CC) $(CFLAGS) -DL_$* $< -c -o $*.o
$(AR) $(ARFLAGS) $@ $*.o
clean:
rm -f *.o libc.a ../include/malloc.h
transfer:
-@rm ../include/malloc.h
cp -p malloc.h ../include/.
|