comparison test/call_suite/Makefile.embedded @ 602:22e4e3f06797

tests: - removed stale test/sharedlib (which built a dll, but is unused now, dynload_plain prob used it but provides such libs itself, now) - sync'ed some embedded Makefiles w/ generic ones - suite3: fixed C++ flags
author Tassilo Philipp
date Wed, 21 Sep 2022 13:25:35 +0200
parents 2b708397bba1
children
comparison
equal deleted inserted replaced
601:1539ebfabebb 602:22e4e3f06797
3 3
4 SRCDIR = ../.. 4 SRCDIR = ../..
5 BLDDIR = ${SRCDIR} 5 BLDDIR = ${SRCDIR}
6 LUA = lua 6 LUA = lua
7 7
8 CPPFLAGS += -I${SRCDIR}/dyncall 8 CFLAGS += -I${SRCDIR}/dyncall
9 LDFLAGS += -L${BLDDIR}/dyncall 9 LDFLAGS += -L${BLDDIR}/dyncall
10 LDLIBS += -ldyncall_s 10 LDLIBS += -ldyncall_s
11 11
12 .PHONY: all clean config config-random 12 .PHONY: all clean config config-random
13 13
14 all: ${TARGET} 14 all: ${TARGET}
15 call_suite: ${OBJS} 15 call_suite: ${OBJS}
16 ${CC} ${OBJS} ${LDFLAGS} ${LDLIBS} -o $@ 16 ${CC} ${CFLAGS} ${LDFLAGS} ${OBJS} ${LDLIBS} -o $@
17 config: 17 config:
18 ${LUA} mk-cases.lua <design.txt >cases.h 18 ${LUA} mk-cases.lua <design.txt >cases.h
19 config-random: 19 config-random:
20 ${LUA} rand-sig.lua >cases.txt 20 ${LUA} rand-sig.lua >cases.txt
21 ${LUA} mk-cases.lua <cases.txt >cases.h 21 ${LUA} mk-cases.lua <cases.txt >cases.h