Mercurial > pub > dyncall > dyncall
view test/suite_aggrs/Makefile.generic @ 461:236015fdf7a8
suite_aggrs:
- added support to gen unions in addition to structs
- regenerated struct/union-mixed and nested cases
- made rand-sig.lua ignore closing struct/union chars if not opened, effectively reducing number of empty aggregates as it now generated way too much
author | Tassilo Philipp |
---|---|
date | Mon, 31 Jan 2022 14:41:11 +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