Mercurial > pub > dyncall > dyncall
annotate test/resolve_self/Makefile.generic @ 331:74c056b597b7
- disassembly example annotations
- callconv appendix in doc:
* ppc64 chapter
* some cleanups for consistency
author | Tassilo Philipp |
---|---|
date | Sat, 23 Nov 2019 13:51:35 +0100 |
parents | 7520e2260097 |
children | 14c582c828b9 |
rev | line source |
---|---|
0 | 1 APP = resolve_self |
2 OBJS = main.o | |
3 SRCTOP = ${VPATH}/../.. | |
4 BLDTOP = ../.. | |
5 CFLAGS += -I${SRCTOP}/dynload | |
256
7520e2260097
- added to configure some detection on how to compile .s/.S with --noexecstack (or similar), as compilers' defaults are often insane
Tassilo Philipp
parents:
0
diff
changeset
|
6 LDFLAGS += -rdynamic |
0 | 7 LDLIBS_D = -L${BLDTOP}/dynload -ldynload_s |
8 .PHONY: all clean install | |
9 all: ${APP} | |
10 ${APP}: ${OBJS} | |
11 ${CC} ${CFLAGS} ${LDFLAGS} ${OBJS} ${LDLIBS_D} ${LDLIBS} -o ${APP} | |
12 clean: | |
13 rm -f ${APP} ${OBJS} | |
14 install: | |
15 mkdir -p ${PREFIX}/test | |
16 cp ${APP} ${PREFIX}/test | |
17 |