diff options
Diffstat (limited to 'libc/utmp/Makefile')
-rw-r--r-- | libc/utmp/Makefile | 24 |
1 files changed, 24 insertions, 0 deletions
diff --git a/libc/utmp/Makefile b/libc/utmp/Makefile new file mode 100644 index 0000000..cbb16a8 --- /dev/null +++ b/libc/utmp/Makefile @@ -0,0 +1,24 @@ +# Copyright (C) 1996 Nat Friedman <ndf@aleph1.mit.edu> +# This file is part of the Linux-8086 C library and is distributed +# under the GNU Library General Public License. + +TOP=.. +include $(TOP)/Make.defs + +OBJ=utent.o + +all: $(OBJ) + +libc.a: $(OBJ) + ar r ../$(LIBC) $(OBJ) + @touch libc.a + +%.o:%.c +ifeq ($(PLATFORM),i386-Linux) + $(CC) $(CFLAGS) $< -c -o $@ $(WALL) +else + $(CC) $(CFLAGS) $< -c -o $@ -ansi +endif + +clean: + rm -f *.o libc.a |