Mercurial > pub > dyncall > dyncall
annotate test/call_suite/Makefile.generic @ 611:d94b053311a7
test/plain_c++:
- refactored to share code
- extended to treat default this calls and explicitly as cdecl declared ones, separately
- prev point fixes implicitly on x86 a wrong dcMode setting (assumed that cdecl for methods would default to the native this call convention, but actually does not, applies cdecl verbatim)
- extended aggr tests to also test explicit cdecl as well as MS thiscalls on x86
- simplified
author | Tassilo Philipp |
---|---|
date | Thu, 29 Sep 2022 11:47:54 +0200 |
parents | 2b708397bba1 |
children | ef356272a1c7 |
rev | line source |
---|---|
0 | 1 APP = call_suite |
429 | 2 OBJS = globals.o cases.o main.o |
0 | 3 SRCTOP = ${VPATH}/../.. |
4 BLDTOP = ../.. | |
5 CFLAGS += -I${SRCTOP}/dyncall | |
6 LDLIBS += -L${BLDTOP}/dyncall -ldyncall_s | |
7 LUA = lua | |
8 .PHONY: all clean install config config-random | |
9 all: ${APP} | |
10 ${APP}: ${OBJS} | |
11 ${CC} ${CFLAGS} ${LDFLAGS} ${OBJS} ${LDLIBS} -o ${APP} | |
12 clean: | |
13 rm -f ${APP} ${OBJS} | |
14 install: | |
15 mkdir -p ${PREFIX}/test | |
16 cp ${APP} ${PREFIX}/test | |
17 config: | |
18 ${LUA} mk-cases.lua <design.txt >cases.h | |
19 config-random: | |
20 ${LUA} rand-sig.lua >cases.txt | |
21 ${LUA} mk-cases.lua <cases.txt >cases.h |