comparison test/callback_plain_c++/Makefile.generic @ 557:b36a738c8975

- dyncallback: fix for calling back win/x64 C++ methods returning non-trivial aggregates (thanks Raphael!) - test/callback_plain_c++: * added test code for C++ method callbacks returning non-trivial aggregates * makefile linker command fix (was linking assuming c and not c++) - test/plain_c++: comments for completeness
author Tassilo Philipp
date Sat, 20 Aug 2022 21:04:15 +0200
parents ca28e9e3c644
children 09bf0470ed50
comparison
equal deleted inserted replaced
556:49b60ca068c2 557:b36a738c8975
5 CFLAGS += -I${SRCTOP}/dyncall 5 CFLAGS += -I${SRCTOP}/dyncall
6 LDLIBS += -L${BLDTOP}/dyncallback -ldyncallback_s -L${BLDTOP}/dyncall -ldyncall_s 6 LDLIBS += -L${BLDTOP}/dyncallback -ldyncallback_s -L${BLDTOP}/dyncall -ldyncall_s
7 .PHONY: all clean install 7 .PHONY: all clean install
8 all: ${APP} 8 all: ${APP}
9 ${APP}: ${OBJS} 9 ${APP}: ${OBJS}
10 ${CC} ${CFLAGS} ${LDFLAGS} ${OBJS} ${LDLIBS} -o ${APP} 10 ${CXX} ${CFLAGS} ${LDFLAGS} ${OBJS} ${LDLIBS} -o ${APP}
11 clean: 11 clean:
12 rm -f ${APP} ${OBJS} 12 rm -f ${APP} ${OBJS}
13 install: 13 install:
14 mkdir -p ${PREFIX}/test 14 mkdir -p ${PREFIX}/test
15 cp ${APP} ${PREFIX}/test 15 cp ${APP} ${PREFIX}/test