Mercurial > pub > dyncall > dyncall
diff test/call_suite/Makefile.generic @ 0:3e629dc19168
initial from svn dyncall-1745
author | Daniel Adler |
---|---|
date | Thu, 19 Mar 2015 22:24:28 +0100 |
parents | |
children | 2b708397bba1 |
line wrap: on
line diff
--- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/test/call_suite/Makefile.generic Thu Mar 19 22:24:28 2015 +0100 @@ -0,0 +1,21 @@ +APP = call_suite +OBJS = globals.o invoke.o cases.o main.o +SRCTOP = ${VPATH}/../.. +BLDTOP = ../.. +CFLAGS += -I${SRCTOP}/dyncall +LDLIBS += -L${BLDTOP}/dyncall -ldyncall_s +LUA = lua +.PHONY: all clean install config config-random +all: ${APP} +${APP}: ${OBJS} + ${CC} ${CFLAGS} ${LDFLAGS} ${OBJS} ${LDLIBS} -o ${APP} +clean: + rm -f ${APP} ${OBJS} +install: + mkdir -p ${PREFIX}/test + cp ${APP} ${PREFIX}/test +config: + ${LUA} mk-cases.lua <design.txt >cases.h +config-random: + ${LUA} rand-sig.lua >cases.txt + ${LUA} mk-cases.lua <cases.txt >cases.h