Mercurial > pub > dyncall > dyncall
view test/callback_plain_c++/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 | b36a738c8975 |
children |
line wrap: on
line source
APP = callback_plain_c++ OBJS = test_main.o SRCTOP = ../.. BLDTOP = ${SRCTOP} CFLAGS += -I${SRCTOP}/dyncall LDFLAGS += -L${BLDDIR}/dyncallback LDLIBS += -ldyncallback_s -ldyncall_s all: ${APP} .PHONY: all clean install ${APP}: ${OBJS} ${CXX} ${OBJS} ${LDFLAGS} ${LDLIBS} -o ${APP} clean: rm -f ${APP} ${OBJS}