comparison 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
comparison
equal deleted inserted replaced
431:1cb8a65ea27f 432:167faab0c0be
1 TARGET = suite_aggrs ${OBJS}
2 OBJS = globals.o cases.o main.o
3
4 SRCDIR = ../..
5 BLDDIR = ${SRCDIR}
6 LUA = lua
7
8 CPPFLAGS += -I${SRCDIR}/dyncall
9 LDFLAGS += -L${BLDDIR}/dyncall
10 LDLIBS += -ldyncall_s
11
12 .PHONY: all clean config config-random
13
14 all: ${TARGET}
15 suite_aggrs: ${OBJS}
16 ${CC} ${OBJS} ${LDFLAGS} ${LDLIBS} -o $@
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
22 cases.o: cases.h
23 clean:
24 rm -f ${TARGET}
25