From 9281d180d13057917f618c35ef7433d2e4d4dd86 Mon Sep 17 00:00:00 2001 From: Eric Andersen Date: Wed, 5 Jul 2000 19:23:36 +0000 Subject: Completely rearchitected the sysdeps directory. -Erik --- libc/sysdeps/linux/i386/Makefile | 29 +++++++++++++++++++++++++++++ 1 file changed, 29 insertions(+) create mode 100644 libc/sysdeps/linux/i386/Makefile (limited to 'libc/sysdeps/linux/i386/Makefile') diff --git a/libc/sysdeps/linux/i386/Makefile b/libc/sysdeps/linux/i386/Makefile new file mode 100644 index 000000000..bfb8d82ff --- /dev/null +++ b/libc/sysdeps/linux/i386/Makefile @@ -0,0 +1,29 @@ +# Copyright (C) 1995,1996 Robert de Bath +# 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 + +.S.s: + $(CC) $(CFLAGS) -D__ASSEMBLY__ -traditional -E -o $*.s $< +.S.o: + $(CC) $(CFLAGS) -c -o $*.o $< + +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 -- cgit v1.2.3