Mercurial > pub > dyncall > dyncall
annotate test/callback_suite/Makefile.generic @ 663:127b569978cc default tip
- another tweak handling clang trying to be too smart (see last commit)
author | Tassilo Philipp |
---|---|
date | Sun, 24 Mar 2024 13:52:44 +0100 |
parents | 71c884e610f0 |
children |
rev | line source |
---|---|
0 | 1 APP = callback_suite |
505 | 2 OBJS = globals.o cases.o main.o |
0 | 3 SRCTOP = ${VPATH}/../.. |
4 BLDTOP = ../.. | |
5 CFLAGS += -I${SRCTOP}/dyncall -I${SRCTOP}/dyncallback | |
533
71c884e610f0
- integration of patches from Raphael Luba, Thekla, Inc.:
Tassilo Philipp
parents:
505
diff
changeset
|
6 LDLIBS += -L${BLDTOP}/dyncallback -ldyncallback_s -L${BLDTOP}/dyncall -ldyncall_s |
0 | 7 LUA = lua |
8 | |
505 | 9 .PHONY: all clean install config |
0 | 10 all: ${APP} |
11 ${APP}: ${OBJS} | |
12 ${CC} ${CFLAGS} ${LDFLAGS} ${OBJS} ${LDLIBS} -o ${APP} | |
13 clean: | |
14 rm -f ${APP} ${OBJS} | |
15 install: | |
16 mkdir -p ${PREFIX}/test | |
17 cp ${APP} ${PREFIX}/test | |
505 | 18 config: |
19 ${LUA} make-signatures.lua >cases.txt | |
20 ${LUA} mk-cases.lua <cases.txt >cases.h | |
0 | 21 config-random: |
505 | 22 echo "-- auto-generated file from template config-random.lua (created by make)" >config.lua |
0 | 23 cat config-random.lua >>config.lua |
24 ${MAKE} config | |
25 config-stress1: | |
505 | 26 echo "-- auto-generated file from template config-stress1.lua (created by make)" >config.lua |
0 | 27 cat config-stress1.lua >>config.lua |
28 ${MAKE} config | |
29 |