view test/call_suite/Makefile.generic @ 351:6b37ccbb2f91

Added tag r1.1-RC4 for changeset 127fe78cb7dd
author Tassilo Philipp
date Fri, 10 Jan 2020 13:29:49 +0100
parents 3e629dc19168
children 2b708397bba1
line wrap: on
line source

APP     = call_suite
OBJS    = globals.o invoke.o cases.o main.o
SRCTOP  = ${VPATH}/../..
BLDTOP  = ../..
CFLAGS += -I${SRCTOP}/dyncall
LDLIBS += -L${BLDTOP}/dyncall -ldyncall_s 
LUA     = lua
.PHONY: all clean install config config-random
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
config:
	${LUA} mk-cases.lua <design.txt >cases.h
config-random: 
	${LUA} rand-sig.lua >cases.txt
	${LUA} mk-cases.lua <cases.txt >cases.h