view test/suite3/Makefile.generic @ 620:14c582c828b9

- test/resolve_self: use a more portable linker option to export exec symbols (fixes some builds)
author Tassilo Philipp
date Mon, 03 Oct 2022 16:52:15 +0200
parents 22e4e3f06797
children
line wrap: on
line source

APP       = suite3
OBJS      = case.o 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