view test/plain_c++/Makefile.generic @ 477:75c19f11b86a

- mips64 doc and more disas examples (fbsd big endian w/ -mhard-float flag)
author Tassilo Philipp
date Sun, 27 Feb 2022 13:53:18 +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