view test/plain_c++/Makefile.generic @ 348:da4b267c10bf r1.1-RC3

- test code fixes and cleanups for win 32
author Tassilo Philipp
date Wed, 08 Jan 2020 17:23:24 +0100
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