Mercurial > pub > dyncall > dyncall
view test/suite_aggrs/Makefile.embedded @ 432:167faab0c0be
first usable version of test suite for aggregates, handling only non-nested struct params, at the moment;
still missing:
- unions
- arrays
- aggregates as return values
author | Tassilo Philipp |
---|---|
date | Fri, 21 Jan 2022 15:42:29 +0100 |
parents | |
children |
line wrap: on
line source
TARGET = suite_aggrs ${OBJS} OBJS = globals.o cases.o main.o SRCDIR = ../.. BLDDIR = ${SRCDIR} LUA = lua CPPFLAGS += -I${SRCDIR}/dyncall LDFLAGS += -L${BLDDIR}/dyncall LDLIBS += -ldyncall_s .PHONY: all clean config config-random all: ${TARGET} suite_aggrs: ${OBJS} ${CC} ${OBJS} ${LDFLAGS} ${LDLIBS} -o $@ 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 cases.o: cases.h clean: rm -f ${TARGET}