summaryrefslogtreecommitdiff
path: root/Makefile
blob: f4d59b1e2a4c62bba44a70f7f009dbaf8da07ddb (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
LIBZAP = zap/libzap.a

.PHONY: clean install purge zap

zap:
	$(MAKE) -Czap

install: zap
	mkdir -pm755 $(HDRDIR)/zap
	mkdir -pm755 $(LIBDIR)
	install -Dm644 zap/include/zap/base.h $(HDRDIR)/zap
	install -Dm644 zap/include/zap/math.h $(HDRDIR)/zap
	install -Dm644 zap/include/zap/mem.h $(HDRDIR)/zap
	install -Dm755 $(LIBZAP) $(LIBDIR)

clean:
	$(MAKE) -Czap clean

purge:
	$(MAKE) -Czap purge