blob: 15f449da533009b5ba1c5fe6efaf3f079e8800e5 (
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
|
.POSIX:
.DEFAULT: all
.SILENT: all headers include
include config.mk
all: .deps.mk include
$(MAKE) -f .deps.mk $@
deps .headers.mk .deps.mk:
sh mkdeps.sh
headers include: .headers.mk
$(MAKE) -f .headers.mk headers
ctags:
ctags $$(find src -name \*.c)
C_1: .deps.mk ; $(MAKE) -f .deps.mk $@
C_199409: C_1 ; $(MAKE) -f .deps.mk $@
C_199901: C_199409 ; $(MAKE) -f .deps.mk $@
C_201112: C_199901 ; $(MAKE) -f .deps.mk $@
C_201710: C_201112 ; $(MAKE) -f .deps.mk $@
POSIX_1: C_1 ; $(MAKE) -f .deps.mk $@
POSIX_2: POSIX_1 ; $(MAKE) -f .deps.mk $@
POSIX_199309: POSIX_1 ; $(MAKE) -f .deps.mk $@
POSIX_199506: POSIX_199309 ; $(MAKE) -f .deps.mk $@
POSIX_200112: POSIX_199506 C_199901 ; $(MAKE) -f .deps.mk $@
POSIX_200809: POSIX_200112 ; $(MAKE) -f .deps.mk $@
XOPEN_4: POSIX_2 POSIX_1 ; $(MAKE) -f .deps.mk $@
XOPEN_400: XOPEN_4 ; $(MAKE) -f .deps.mk $@
XOPEN_500: XOPEN_400 POSIX_199506 ; $(MAKE) -f .deps.mk $@
XOPEN_600: XOPEN_500 POSIX_200112 ; $(MAKE) -f .deps.mk $@
XOPEN_700: XOPEN_600 POSIX_200809 ; $(MAKE) -f .deps.mk $@
clean:
rm -rf $(OBJDIR) *.a
extra-clean: clean
rm -rf .dep .*.mk include
|