Mercurial > pub > dyncall > dyncall
annotate test/callback_plain_c++/Makefile.generic @ 663:127b569978cc default tip
- another tweak handling clang trying to be too smart (see last commit)
author | Tassilo Philipp |
---|---|
date | Sun, 24 Mar 2024 13:52:44 +0100 |
parents | 09bf0470ed50 |
children |
rev | line source |
---|---|
562
09bf0470ed50
- callback_plain_c++ build fix for some platforms (setting correct c++ flags)
Tassilo Philipp
parents:
557
diff
changeset
|
1 APP = callback_plain_c++ |
09bf0470ed50
- callback_plain_c++ build fix for some platforms (setting correct c++ flags)
Tassilo Philipp
parents:
557
diff
changeset
|
2 OBJS = test_main.o |
09bf0470ed50
- callback_plain_c++ build fix for some platforms (setting correct c++ flags)
Tassilo Philipp
parents:
557
diff
changeset
|
3 SRCTOP = ${VPATH}/../.. |
09bf0470ed50
- callback_plain_c++ build fix for some platforms (setting correct c++ flags)
Tassilo Philipp
parents:
557
diff
changeset
|
4 BLDTOP = ../.. |
09bf0470ed50
- callback_plain_c++ build fix for some platforms (setting correct c++ flags)
Tassilo Philipp
parents:
557
diff
changeset
|
5 CXXFLAGS += -I${SRCTOP}/dyncall |
09bf0470ed50
- callback_plain_c++ build fix for some platforms (setting correct c++ flags)
Tassilo Philipp
parents:
557
diff
changeset
|
6 LDLIBS += -L${BLDTOP}/dyncallback -ldyncallback_s -L${BLDTOP}/dyncall -ldyncall_s |
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
|
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} |
562
09bf0470ed50
- callback_plain_c++ build fix for some platforms (setting correct c++ flags)
Tassilo Philipp
parents:
557
diff
changeset
|
10 ${CXX} ${CXXFLAGS} ${LDFLAGS} ${OBJS} ${LDLIBS} -o ${APP} |
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
|
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 |