Mercurial > pub > dyncall > dyncall
view test/call_suite/Makefile.embedded @ 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 | 22e4e3f06797 |
children |
line wrap: on
line source
TARGET = call_suite ${OBJS} OBJS = globals.o cases.o main.o SRCDIR = ../.. BLDDIR = ${SRCDIR} LUA = lua CFLAGS += -I${SRCDIR}/dyncall LDFLAGS += -L${BLDDIR}/dyncall LDLIBS += -ldyncall_s .PHONY: all clean config config-random all: ${TARGET} call_suite: ${OBJS} ${CC} ${CFLAGS} ${LDFLAGS} ${OBJS} ${LDLIBS} -o $@ config: ${LUA} mk-cases.lua <design.txt >cases.h config-random: ${LUA} rand-sig.lua >cases.txt ${LUA} mk-cases.lua <cases.txt >cases.h cases.o: cases.h clean: rm -f ${TARGET}