Mercurial > pub > dyncall > dyncall
view test/call_suite_aggrs/Makefile.generic @ 510:f0080b53635d
test/call_suite_aggrs:
- less confusing and simpler generated code (with first arg in V_?[0] output)
- avoid using same test reference value for retval and last arg
author | Tassilo Philipp |
---|---|
date | Sat, 09 Apr 2022 23:45:44 +0200 |
parents | a4ed1564024a |
children | bb4933eab7d6 |
line wrap: on
line source
APP = call_suite_aggrs OBJS = globals.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 config-random-nonemptyaggrs: ${LUA} rand-sig.lua >nonemptyaggrs.txt ${LUA} mk-cases.lua <nonemptyaggrs.txt >nonemptyaggrs.h