summaryrefslogtreecommitdiff
path: root/Makefile
blob: 2f9b1988f56a5b2e9d8e310563f8705e7b8dfe90 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
.POSIX:
.DEFAULT: all
.SILENT: all headers include
include config.mk

all: .deps.mk include
	$(MAKE) -f .deps.mk $@

deps .headers.mk .deps.mk:
	sh mkmf.sh $(STANDARD)

headers include: .headers.mk
	$(MAKE) -f .headers.mk include

ctags:
	ctags $$(find src -name \*.c)

clean:
	rm -rf $(OBJDIR) *.a

extra-clean: clean
	rm -rf .dep .*.mk include