annotate test/dynload_plain/Makefile.embedded @ 215:2beca1d11c96
- dynload_plain test now run with helper script
- added __aarch64__ detection to autovars (b/c still not merged with dyncall_macros)
author |
Tassilo Philipp |
date |
Thu, 06 Apr 2017 02:17:35 +0200 |
parents |
0592eb360af2 |
children |
7c6f19d42b31 |
rev |
line source |
214
|
1 APP = dynload_plain
|
|
2 OBJS = dynload_plain.o
|
|
3
|
|
4 TOP = ../..
|
|
5 CFLAGS += -I${TOP}/dynload
|
|
6 LDFLAGS += -L${TOP}/dynload
|
|
7 LDLIBS += -ldynload_s
|
|
8 # Works on: Darwin, NetBSD.
|
|
9 # Linux: add '-ldl'
|
|
10
|
|
11 all: ${APP}
|
|
12
|
|
13 .PHONY: all clean
|
|
14
|
|
15 ${APP}: ${OBJS}
|
|
16 ${CC} ${OBJS} ${LDFLAGS} ${LDLIBS} -o $@
|
|
17
|
|
18 clean:
|
|
19 rm -f ${APP} ${OBJS}
|
|
20
|