annotate test/call_suite/Makefile.embedded @ 448:987a2af078c8

test/Makefile.generic fix (copy/paste error)
author Tassilo Philipp
date Thu, 27 Jan 2022 11:39:35 +0100
parents 2b708397bba1
children 22e4e3f06797
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
rev   line source
0
3e629dc19168 initial from svn dyncall-1745
Daniel Adler
parents:
diff changeset
1 TARGET = call_suite ${OBJS}
429
2b708397bba1 - simplified and decluttered test/call_suite
Tassilo Philipp
parents: 0
diff changeset
2 OBJS = globals.o cases.o main.o
0
3e629dc19168 initial from svn dyncall-1745
Daniel Adler
parents:
diff changeset
3
3e629dc19168 initial from svn dyncall-1745
Daniel Adler
parents:
diff changeset
4 SRCDIR = ../..
3e629dc19168 initial from svn dyncall-1745
Daniel Adler
parents:
diff changeset
5 BLDDIR = ${SRCDIR}
3e629dc19168 initial from svn dyncall-1745
Daniel Adler
parents:
diff changeset
6 LUA = lua
3e629dc19168 initial from svn dyncall-1745
Daniel Adler
parents:
diff changeset
7
3e629dc19168 initial from svn dyncall-1745
Daniel Adler
parents:
diff changeset
8 CPPFLAGS += -I${SRCDIR}/dyncall
3e629dc19168 initial from svn dyncall-1745
Daniel Adler
parents:
diff changeset
9 LDFLAGS += -L${BLDDIR}/dyncall
3e629dc19168 initial from svn dyncall-1745
Daniel Adler
parents:
diff changeset
10 LDLIBS += -ldyncall_s
3e629dc19168 initial from svn dyncall-1745
Daniel Adler
parents:
diff changeset
11
3e629dc19168 initial from svn dyncall-1745
Daniel Adler
parents:
diff changeset
12 .PHONY: all clean config config-random
3e629dc19168 initial from svn dyncall-1745
Daniel Adler
parents:
diff changeset
13
3e629dc19168 initial from svn dyncall-1745
Daniel Adler
parents:
diff changeset
14 all: ${TARGET}
3e629dc19168 initial from svn dyncall-1745
Daniel Adler
parents:
diff changeset
15 call_suite: ${OBJS}
3e629dc19168 initial from svn dyncall-1745
Daniel Adler
parents:
diff changeset
16 ${CC} ${OBJS} ${LDFLAGS} ${LDLIBS} -o $@
3e629dc19168 initial from svn dyncall-1745
Daniel Adler
parents:
diff changeset
17 config:
3e629dc19168 initial from svn dyncall-1745
Daniel Adler
parents:
diff changeset
18 ${LUA} mk-cases.lua <design.txt >cases.h
3e629dc19168 initial from svn dyncall-1745
Daniel Adler
parents:
diff changeset
19 config-random:
3e629dc19168 initial from svn dyncall-1745
Daniel Adler
parents:
diff changeset
20 ${LUA} rand-sig.lua >cases.txt
3e629dc19168 initial from svn dyncall-1745
Daniel Adler
parents:
diff changeset
21 ${LUA} mk-cases.lua <cases.txt >cases.h
3e629dc19168 initial from svn dyncall-1745
Daniel Adler
parents:
diff changeset
22 cases.o: cases.h
3e629dc19168 initial from svn dyncall-1745
Daniel Adler
parents:
diff changeset
23 clean:
3e629dc19168 initial from svn dyncall-1745
Daniel Adler
parents:
diff changeset
24 rm -f ${TARGET}
3e629dc19168 initial from svn dyncall-1745
Daniel Adler
parents:
diff changeset
25