view lua/luadyncall/rockspec/Makefile @ 32:2089026debae

- allowing 'None' as arg for pydc.load, effectively resulting in dlLoadLibrary(NULL), which is own process
author Tassilo Philipp
date Sat, 11 Apr 2020 18:02:33 +0200
parents 0cfcc391201f
children
line wrap: on
line source

NAME		 =luadyncall
VERSION		 =0.1
TOP		 =..
TMPDIR		 =/tmp
DIR		 =$(NAME)-$(VERSION)

.PHONY: all srcpkg srcdir clean 

all: srcpkg

srcpkg: srcdir
	tar -C $(TMPDIR) -czvpf $(TMPDIR)/$(DIR).tar.gz $(DIR)

srcdir:
	mkdir -p $(TMPDIR)/$(DIR)
	cp -R $(TOP) $(TMPDIR)/$(DIR)

clean: 
	rm -Rf $(TMPDIR)/$(DIR) $(TMPDIR)/$(DIR).tar.gz