view test/suite/Makefile.generic @ 539:0c3f5355769d

- test code: dcmode setting order fix, test worked but was incorrect according to the definition/doc
author Tassilo Philipp
date Sun, 24 Apr 2022 13:48:59 +0200
parents 3e629dc19168
children ef356272a1c7
line wrap: on
line source

APP     = suite
OBJS    = case.o main.o
SRCTOP  = ${VPATH}/../..
BLDTOP  = ../..
CFLAGS += -I${SRCTOP}/dyncall
LDLIBS += -L${BLDTOP}/dyncall -ldyncall_s 
.PHONY: all clean install
all: ${APP}
${APP}: ${OBJS} 
	${CC} ${CFLAGS} ${LDFLAGS} ${OBJS} ${LDLIBS} -o ${APP}
clean:
	rm -f ${APP} ${OBJS}
install:
	mkdir -p ${PREFIX}/test
	cp ${APP} ${PREFIX}/test