annotate lua/test/Makefile @ 46:c21d1c2c84e1
- removed pydc.py wrapper overhead (which only called pydcext.so functions, directly, anyways)
* implies renaming pydcext.* to pydc.*
* while at it, iterate directly over args that are passed in (before we did extract fptr, sig and a tuple for the args and iterated over latter afterwards); we might have a tiny perf improvement now
- added type stub as package_data
author |
Tassilo Philipp |
date |
Fri, 13 Nov 2020 14:10:31 +0100 |
parents |
0cfcc391201f |
children |
|
rev |
line source |
0
|
1 DC_TOP = ../../../dyncall
|
|
2 CC = gcc
|
|
3 LUA_INCDIR = ../lua-5.1.3/src
|
|
4 LUA_LIBDIR = ../lua-5.1.3/src
|
|
5 CFLAGS = -I$(LUA_INCDIR) -I$(DC_TOP)/include
|
|
6 LIBS = -L$(LUA_LIBDIR) -llua -L$(DC_TOP)/lib -ldynload_s -ldyncall_s
|
|
7
|
|
8 all: test luadc
|
|
9
|
|
10 test: main.o
|
|
11 $(LINK.c) $^ $(LIBS) $(OUTPUT_OPTION)
|
|
12
|
|
13 LINK.DLL = gcc --shared
|
|
14
|
|
15 luadc.dll: luadc.o
|
|
16 $(LINK.DLL) $^ $(LIBS) $(OUTPUT_OPTION)
|
|
17
|