view test/plain_c++/Makefile.generic @ 520:bb4933eab7d6

- call_suite_aggrs: makefile fix
author Tassilo Philipp
date Mon, 11 Apr 2022 22:49:04 +0200
parents 3e629dc19168
children 917d5d213815
line wrap: on
line source

APP       = plain_c++
OBJS      = test_main.o
SRCTOP    = ${VPATH}/../..
BLDTOP    = ../..
CXXFLAGS += -I${SRCTOP}/dyncall
LDLIBS   += -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