summaryrefslogblamecommitdiff
path: root/Makefile
blob: f4d59b1e2a4c62bba44a70f7f009dbaf8da07ddb (plain) (tree)
1
2
3
4
5
6
7
8
9
                     
 
                               
 

                     
 
            
                                  
                              
                                                           


                                                           

      
                           
 

                           
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