summaryrefslogtreecommitdiff
path: root/Makefile
blob: fcba9168a91d28c207d8207601cd477ca04932a6 (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
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
51
52
53
54
55
56
57
58
59
60
61
DIRS = headers error getent malloc-simple misc regex stdio2 \
	    string sysdeps termios time #rpc

all: libc.a

libc.a: $(DIRS) dummy
	@echo
	@echo Finally finished compiling...
	@echo
	$(CROSS)ranlib $@

headers: dummy
	if [ ! -L "include/asm" ]; then ln -s /usr/src/linux/include/asm include/asm ; fi
	if [ ! -L "include/net" ]; then ln -s /usr/src/linux/include/net include/net ; fi
	if [ ! -L "include/linux" ]; then ln -s /usr/src/linux/include/linux include/linux ; fi

error: dummy
	make -C error

getent: dummy
	make -C getent

malloc-simple: dummy
	make -C malloc-simple

misc: dummy
	make -C misc

net: dummy
	make -C net

regex: dummy
	make -C regex

rpc: dummy
	make -C rpc

stdio2: dummy
	make -C stdio2

string: dummy
	make -C string

sysdeps: dummy
	make -C sysdeps

termios: dummy
	make -C termios

time: dummy
	make -C time

tags:
	ctags -R
	
dummy:

clean:
	-rm -f `find -name \*.[oa]` `find -name \*~` core
	-rm -rf include/asm include/net include/linux