view test/callback_plain_c++/Makefile.generic @ 634:e3441521ad6b

"
author Tassilo Philipp
date Sun, 20 Nov 2022 19:46:01 +0100
parents 09bf0470ed50
children ef356272a1c7
line wrap: on
line source

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