annotate test/malloc_wx/Makefile.embedded @ 246:06a354b2e120
changes for dynload for macOS and OpenBSD:
- reverted last commit, b/c of brainfat (wrongly assuming all libs iterated over are opened by dynload)
- make use of RTLD_NOLOAD, though, when re-dlopen-ing to get path, for performance (where available)
author |
Tassilo Philipp |
date |
Thu, 04 May 2017 23:38:30 +0200 |
parents |
3e629dc19168 |
children |
|
rev |
line source |
0
|
1 APP = malloc_wx
|
|
2 OBJS = test_wx.o
|
|
3
|
|
4 TOP = ../..
|
|
5 CFLAGS += -I${TOP}/dyncallback -I${TOP}/dyncall
|
|
6 LDFLAGS += -L${TOP}/dyncallback
|
|
7 LDLIBS += -ldyncallback_s
|
|
8
|
|
9 all: ${APP}
|
|
10
|
|
11 .PHONY: all clean
|
|
12
|
|
13 ${APP}: ${OBJS}
|
|
14 ${CC} ${OBJS} ${LDFLAGS} ${LDLIBS} -o ${APP}
|
|
15
|
|
16 clean:
|
|
17 rm -f ${APP} ${OBJS}
|
|
18
|