summaryrefslogtreecommitdiff
path: root/libc/sysdeps/linux/i386/Makefile
diff options
context:
space:
mode:
authorEric Andersen <andersen@codepoet.org>2000-07-05 19:23:36 +0000
committerEric Andersen <andersen@codepoet.org>2000-07-05 19:23:36 +0000
commit9281d180d13057917f618c35ef7433d2e4d4dd86 (patch)
treeb497158acdc1a81b93b938a2f76376c88bc7799b /libc/sysdeps/linux/i386/Makefile
parent775622914fa0a2814c705d25b1a3929002c5c785 (diff)
Completely rearchitected the sysdeps directory.
-Erik
Diffstat (limited to 'libc/sysdeps/linux/i386/Makefile')
-rw-r--r--libc/sysdeps/linux/i386/Makefile29
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