view test/callback_plain_c++/Makefile.embedded @ 664:64880e3f286c default tip

- test/thunk: disable output buffering (might not be able catch segfaults on stack without SA_ONSTACK, so print maximum for when handler isn't called)
author Tassilo Philipp
date Thu, 23 May 2024 16:05:45 +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}