Mercurial > pub > dyncall > dyncall
comparison test/suite_aggrs/Makefile.generic @ 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 |
comparison
equal
deleted
inserted
replaced
431:1cb8a65ea27f | 432:167faab0c0be |
---|---|
1 APP = suite_aggrs | |
2 OBJS = globals.o cases.o main.o | |
3 SRCTOP = ${VPATH}/../.. | |
4 BLDTOP = ../.. | |
5 CFLAGS += -I${SRCTOP}/dyncall | |
6 LDLIBS += -L${BLDTOP}/dyncall -ldyncall_s | |
7 LUA = lua | |
8 .PHONY: all clean install config config-random | |
9 all: ${APP} | |
10 ${APP}: ${OBJS} | |
11 ${CC} ${CFLAGS} ${LDFLAGS} ${OBJS} ${LDLIBS} -o ${APP} | |
12 clean: | |
13 rm -f ${APP} ${OBJS} | |
14 install: | |
15 mkdir -p ${PREFIX}/test | |
16 cp ${APP} ${PREFIX}/test | |
17 config: | |
18 ${LUA} mk-cases.lua <design.txt >cases.h | |
19 config-random: | |
20 ${LUA} rand-sig.lua >cases.txt | |
21 ${LUA} mk-cases.lua <cases.txt >cases.h |