Mercurial > pub > dyncall > dyncall
annotate test/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 | 917d5d213815 |
children |
rev | line source |
---|---|
0 | 1 APP = plain_c++ |
2 OBJS = test_main.o | |
3 SRCTOP = ${VPATH}/../.. | |
4 BLDTOP = ../.. | |
5 CXXFLAGS += -I${SRCTOP}/dyncall | |
547
917d5d213815
- integrate test/callback_plain_c++ into main build
Tassilo Philipp
parents:
0
diff
changeset
|
6 LDLIBS += -L${BLDTOP}/dyncall -ldyncall_s -L${BLDTOP}/dyncallback -ldyncallback_s |
0 | 7 .PHONY: all clean install |
8 all: ${APP} | |
9 ${APP}: ${OBJS} | |
10 ${CXX} ${CXXFLAGS} ${LDFLAGS} ${OBJS} ${LDLIBS} -o ${APP} | |
11 clean: | |
12 rm -f ${APP} ${OBJS} | |
13 install: | |
14 mkdir -p ${PREFIX}/test | |
15 cp ${APP} ${PREFIX}/test | |
16 |