view test/callback_plain_c++/Makefile.embedded @ 578:87b5f5d7af1f

callback_plain_c++: improved cross-platform robustness of faked thiscall used for testing
author Tassilo Philipp
date Thu, 08 Sep 2022 16:15:52 +0200
parents b36a738c8975
children
line wrap: on
line source

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}
	${CXX} ${OBJS} ${LDFLAGS} ${LDLIBS} -o ${APP}

clean:
	rm -f ${APP} ${OBJS}