summaryrefslogtreecommitdiff
path: root/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile23
1 files changed, 21 insertions, 2 deletions
diff --git a/Makefile b/Makefile
index 2f9b1988..15f449da 100644
--- a/Makefile
+++ b/Makefile
@@ -7,14 +7,33 @@ all: .deps.mk include
$(MAKE) -f .deps.mk $@
deps .headers.mk .deps.mk:
- sh mkmf.sh $(STANDARD)
+ sh mkdeps.sh
headers include: .headers.mk
- $(MAKE) -f .headers.mk include
+ $(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