view test/suite_aggrs/Makefile.generic @ 433:45662241d9cd

suite_aggrs now handling struct by value return types, also still missing: nesting, unions, arrays note: this doesn't compile against this same checked in revision of dyncall, but only my working copy; a future checkin will catch up
author Tassilo Philipp
date Sat, 22 Jan 2022 16:07:57 +0100
parents 167faab0c0be
children
line wrap: on
line source

APP     = 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