summaryrefslogtreecommitdiff
path: root/libc/sysdeps/linux/common/Makefile
blob: eac2dc3b4d309de0c05b1fe6392e3f8fcd0149c8 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
# 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.

TOPDIR=../../../
include $(TOPDIR)Rules.make

CFLAGS+= -D_GCC_LIMITS_H_

LIBC=$(TOPDIR)libc.a

include makefile.objs

all: $(LIBC)

$(LIBC): $(OBJ)
	$(AR) $(ARFLAGS) $@ $(OBJ)

transfer:
	-@rm -f ../include/stdio.h
	cp -p stdio.h ../include/.

clean:
	rm -f *.o