view test/suite3/Makefile.generic @ 454:68d98455a8bd

suite_aggrs: var scope change for older compilers; excluding msvc from tests with empty structs
author Tassilo Philipp
date Thu, 27 Jan 2022 14:48:51 +0100
parents 3e629dc19168
children 22e4e3f06797
line wrap: on
line source

APP       = suite3
OBJS      = case.o main.o
SRCTOP    = ${VPATH}/../..
BLDTOP    = ../..
CPPFLAGS += -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