diff options
Diffstat (limited to 'libc/sysdeps/linux/i386/Makefile')
-rw-r--r-- | libc/sysdeps/linux/i386/Makefile | 29 |
1 files changed, 29 insertions, 0 deletions
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 <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 + +.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 |