0
|
1 TARGET = call_suite ${OBJS}
|
429
|
2 OBJS = globals.o cases.o main.o
|
0
|
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 call_suite: ${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
|