Mercurial > pub > dyncall > dyncall
comparison test/callback_suite/Makefile.embedded @ 505:049e04af13c8
test/callback_suite:
- greatly simplified
- refactored to look more like other test cases (especially call_suite{,_aggrs} for consistency/maintainablity/future code sharing
author | Tassilo Philipp |
---|---|
date | Sat, 09 Apr 2022 13:53:58 +0200 |
parents | d8f0e6cecdab |
children | 71c884e610f0 |
comparison
equal
deleted
inserted
replaced
504:f263eb7a206e | 505:049e04af13c8 |
---|---|
1 APP = callback_suite | 1 APP = callback_suite |
2 OBJS = env.o do_test.o main.o | 2 OBJS = globals.o cases.o main.o |
3 | 3 |
4 SRCTOP = ../.. | 4 SRCTOP = ../.. |
5 BLDTOP = ${SRCTOP} | 5 BLDTOP = ${SRCTOP} |
6 CFLAGS += -I${SRCTOP}/dyncall -I${SRCTOP}/dyncallback | 6 CFLAGS += -I${SRCTOP}/dyncall -I${SRCTOP}/dyncallback |
7 LDFLAGS += -L${BLDTOP}/dyncall -L${BLDTOP}/dyncallback | 7 LDFLAGS += -L${BLDTOP}/dyncall -L${BLDTOP}/dyncallback |
12 .PHONY: all clean install | 12 .PHONY: all clean install |
13 | 13 |
14 ${APP}: ${OBJS} | 14 ${APP}: ${OBJS} |
15 ${CC} ${OBJS} ${LDFLAGS} ${LDLIBS} -o ${APP} | 15 ${CC} ${OBJS} ${LDFLAGS} ${LDLIBS} -o ${APP} |
16 | 16 |
17 config: | |
18 ${LUA} make-signatures.lua >cases.txt | |
19 ${LUA} mk-cases.lua <cases.txt >cases.h | |
20 config-random: | |
21 echo "-- auto-generated file from template config-random.lua (created by make)" >config.lua | |
22 cat config-random.lua >>config.lua | |
23 ${MAKE} config | |
24 config-stress1: | |
25 echo "-- auto-generated file from template config-stress1.lua (created by make)" >config.lua | |
26 cat config-stress1.lua >>config.lua | |
27 ${MAKE} config | |
28 cases.o: cases.h | |
17 clean: | 29 clean: |
18 rm -f ${APP} ${OBJS} | 30 rm -f ${APP} ${OBJS} |
19 | 31 |