annotate test/callback_plain/Makefile.embedded @ 226:6e40eb9fb261
- different strategy for mach-o files to lookup symbol names, in order to be consistent with other functions (that use dladdr() and dlsym() calls, which mostly don't use '_' prefixes)
author |
Tassilo Philipp |
date |
Sat, 15 Apr 2017 22:02:58 +0200 |
parents |
3e629dc19168 |
children |
71c884e610f0 |
rev |
line source |
0
|
1 APP = callback_plain
|
|
2 OBJS = callback_plain.o
|
|
3
|
|
4 SRCTOP = ../..
|
|
5 BLDTOP = ${SRCTOP}
|
|
6 CFLAGS += -I${SRCTOP}/dyncall
|
|
7 LDFLAGS += -L${BLDDIR}/dyncallback
|
|
8 LDLIBS += -ldyncallback_s
|
|
9
|
|
10 all: ${APP}
|
|
11
|
|
12 .PHONY: all clean install
|
|
13
|
|
14 ${APP}: ${OBJS}
|
|
15 ${CC} ${OBJS} ${LDFLAGS} ${LDLIBS} -o ${APP}
|
|
16
|
|
17 clean:
|
|
18 rm -f ${APP} ${OBJS}
|
|
19
|