-
Notifications
You must be signed in to change notification settings - Fork 8
/
Copy pathMakefile
50 lines (39 loc) · 1.08 KB
/
Makefile
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
LIB=../lib/lib9.a
OFILES=\
charstod.o\
doprint.o\
fatal.o\
misc.o\
nan.o\
print.o\
rune.o\
utflen.o\
wait.o\
INCLUDES=-I../include
CFLAGS += $(INCLUDES)
CC=gcc
all: $(LIB)
$(LIB): $(OFILES)
ar r $(LIB) $(OFILES)
clean:
rm -rf $(OFILES)
rm -f $(LIB)
world:; make depend; make $(LIB)
depend::; makedepend $(CPPFLAGS) $(INCLUDES) $(OFILES:.o=.c)
# DO NOT DELETE
charstod.o: ../include/u.h ../include/lib9.h
doprint.o: ../include/u.h ../include/lib9.h
fatal.o: ../include/u.h ../include/lib9.h
getcallerpc.o: ../include/u.h ../include/lib9.h
lock.o: ../include/u.h ../include/lib9.h
malloc.o: ../include/u.h ../include/lib9.h
nan.o: ../include/u.h ../include/lib9.h
pool.o: ../include/u.h ../include/lib9.h pool.h
print.o: ../include/u.h ../include/lib9.h
qlock.o: ../include/u.h ../include/lib9.h
rendezvous.o: ../include/u.h ../include/lib9.h ../include/fatal.h
rendezvous.o: ../include/thread.h
rune.o: ../include/u.h ../include/lib9.h
utflen.o: ../include/u.h ../include/lib9.h
wait.o: ../include/u.h ../include/lib9.h
zalloc.o: ../include/u.h ../include/lib9.h ../include/fatal.h