Mercurial > pub > dyncall > dyncall
annotate test/callback_plain_c++/Makefile.generic @ 555:214c4efc104f
- test/callback_plain_c++: added check and a slightly different test for C++ copy-elision/retval-optimization, as C++ finds ambiguities totally ok
author | Tassilo Philipp |
---|---|
date | Mon, 20 Jun 2022 17:42:13 +0200 |
parents | ca28e9e3c644 |
children | b36a738c8975 |
rev | line source |
---|---|
545
ca28e9e3c644
- test/callback_plain_c++, to test C++ non-trivial aggrs by value, as well as method callback handlers
Tassilo Philipp
parents:
diff
changeset
|
1 APP = callback_plain_c++ |
ca28e9e3c644
- test/callback_plain_c++, to test C++ non-trivial aggrs by value, as well as method callback handlers
Tassilo Philipp
parents:
diff
changeset
|
2 OBJS = test_main.o |
ca28e9e3c644
- test/callback_plain_c++, to test C++ non-trivial aggrs by value, as well as method callback handlers
Tassilo Philipp
parents:
diff
changeset
|
3 SRCTOP = ${VPATH}/../.. |
ca28e9e3c644
- test/callback_plain_c++, to test C++ non-trivial aggrs by value, as well as method callback handlers
Tassilo Philipp
parents:
diff
changeset
|
4 BLDTOP = ../.. |
ca28e9e3c644
- test/callback_plain_c++, to test C++ non-trivial aggrs by value, as well as method callback handlers
Tassilo Philipp
parents:
diff
changeset
|
5 CFLAGS += -I${SRCTOP}/dyncall |
ca28e9e3c644
- test/callback_plain_c++, to test C++ non-trivial aggrs by value, as well as method callback handlers
Tassilo Philipp
parents:
diff
changeset
|
6 LDLIBS += -L${BLDTOP}/dyncallback -ldyncallback_s -L${BLDTOP}/dyncall -ldyncall_s |
ca28e9e3c644
- test/callback_plain_c++, to test C++ non-trivial aggrs by value, as well as method callback handlers
Tassilo Philipp
parents:
diff
changeset
|
7 .PHONY: all clean install |
ca28e9e3c644
- test/callback_plain_c++, to test C++ non-trivial aggrs by value, as well as method callback handlers
Tassilo Philipp
parents:
diff
changeset
|
8 all: ${APP} |
ca28e9e3c644
- test/callback_plain_c++, to test C++ non-trivial aggrs by value, as well as method callback handlers
Tassilo Philipp
parents:
diff
changeset
|
9 ${APP}: ${OBJS} |
ca28e9e3c644
- test/callback_plain_c++, to test C++ non-trivial aggrs by value, as well as method callback handlers
Tassilo Philipp
parents:
diff
changeset
|
10 ${CC} ${CFLAGS} ${LDFLAGS} ${OBJS} ${LDLIBS} -o ${APP} |
ca28e9e3c644
- test/callback_plain_c++, to test C++ non-trivial aggrs by value, as well as method callback handlers
Tassilo Philipp
parents:
diff
changeset
|
11 clean: |
ca28e9e3c644
- test/callback_plain_c++, to test C++ non-trivial aggrs by value, as well as method callback handlers
Tassilo Philipp
parents:
diff
changeset
|
12 rm -f ${APP} ${OBJS} |
ca28e9e3c644
- test/callback_plain_c++, to test C++ non-trivial aggrs by value, as well as method callback handlers
Tassilo Philipp
parents:
diff
changeset
|
13 install: |
ca28e9e3c644
- test/callback_plain_c++, to test C++ non-trivial aggrs by value, as well as method callback handlers
Tassilo Philipp
parents:
diff
changeset
|
14 mkdir -p ${PREFIX}/test |
ca28e9e3c644
- test/callback_plain_c++, to test C++ non-trivial aggrs by value, as well as method callback handlers
Tassilo Philipp
parents:
diff
changeset
|
15 cp ${APP} ${PREFIX}/test |