Mercurial > pub > dyncall > dyncall
diff test/callback_plain_c++/Makefile.embedded @ 545:ca28e9e3c644
- test/callback_plain_c++, to test C++ non-trivial aggrs by value, as well as method callback handlers
- Changelog
author | Tassilo Philipp |
---|---|
date | Tue, 31 May 2022 18:35:06 +0200 |
parents | |
children | b36a738c8975 |
line wrap: on
line diff
--- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/test/callback_plain_c++/Makefile.embedded Tue May 31 18:35:06 2022 +0200 @@ -0,0 +1,19 @@ +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} + ${CC} ${OBJS} ${LDFLAGS} ${LDLIBS} -o ${APP} + +clean: + rm -f ${APP} ${OBJS} +