Mercurial > pub > dyncall > dyncall
view test/callback_plain_c++/Makefile.generic @ 613:3c3e321875f7
- adding helper target to cmake
author | Tassilo Philipp |
---|---|
date | Sat, 01 Oct 2022 16:03:25 +0200 |
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