summaryrefslogtreecommitdiff
path: root/libc/sysdeps/linux/common/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'libc/sysdeps/linux/common/Makefile')
-rw-r--r--libc/sysdeps/linux/common/Makefile24
1 files changed, 24 insertions, 0 deletions
diff --git a/libc/sysdeps/linux/common/Makefile b/libc/sysdeps/linux/common/Makefile
new file mode 100644
index 000000000..eac2dc3b4
--- /dev/null
+++ b/libc/sysdeps/linux/common/Makefile
@@ -0,0 +1,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