annotate lua/luadyncall/rockspec/Makefile @ 12:079718588eb6
 
made erlang binding work with system *installed* dyncall:
- made build use static libraries (used .o files directly)
- removed custom flags for include path and relying on CFLAGS now
- change cc to $(CC)
- readme update with build instructions, etc.
 | author | 
 cslag | 
 | date | 
 Sat, 26 Mar 2016 15:55:50 +0100 | 
 | parents | 
 0cfcc391201f  | 
 | children | 
  | 
 | rev | 
   line source | 
  
| 
0
 | 
     1 NAME		 =luadyncall
 | 
| 
 | 
     2 VERSION		 =0.1
 | 
| 
 | 
     3 TOP		 =..
 | 
| 
 | 
     4 TMPDIR		 =/tmp
 | 
| 
 | 
     5 DIR		 =$(NAME)-$(VERSION)
 | 
| 
 | 
     6 
 | 
| 
 | 
     7 .PHONY: all srcpkg srcdir clean 
 | 
| 
 | 
     8 
 | 
| 
 | 
     9 all: srcpkg
 | 
| 
 | 
    10 
 | 
| 
 | 
    11 srcpkg: srcdir
 | 
| 
 | 
    12 	tar -C $(TMPDIR) -czvpf $(TMPDIR)/$(DIR).tar.gz $(DIR)
 | 
| 
 | 
    13 
 | 
| 
 | 
    14 srcdir:
 | 
| 
 | 
    15 	mkdir -p $(TMPDIR)/$(DIR)
 | 
| 
 | 
    16 	cp -R $(TOP) $(TMPDIR)/$(DIR)
 | 
| 
 | 
    17 
 | 
| 
 | 
    18 clean: 
 | 
| 
 | 
    19 	rm -Rf $(TMPDIR)/$(DIR) $(TMPDIR)/$(DIR).tar.gz
 | 
| 
 | 
    20 
 |