view test/callback_plain_c++/Makefile.generic @ 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 source

APP     = callback_plain_c++
OBJS    = test_main.o
SRCTOP  = ${VPATH}/../..
BLDTOP  = ../..
CFLAGS += -I${SRCTOP}/dyncall
LDLIBS  += -L${BLDTOP}/dyncallback -ldyncallback_s -L${BLDTOP}/dyncall -ldyncall_s
.PHONY: all clean install
all: ${APP}
${APP}: ${OBJS} 
	${CC} ${CFLAGS} ${LDFLAGS} ${OBJS} ${LDLIBS} -o ${APP}
clean:
	rm -f ${APP} ${OBJS}
install:
	mkdir -p ${PREFIX}/test
	cp ${APP} ${PREFIX}/test