blob: cbb16a8f4418e0f160c0d17eae350ab2c37b7017 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
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
|