Mercurial > pub > dyncall > dyncall
view test/call_suite/Makefile.generic @ 511:a0c51f34023a
test/call_suite:
- 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:48:01 +0200 |
parents | 2b708397bba1 |
children |
line wrap: on
line source
APP = call_suite 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