annotate test/dynload_plain/Makefile.generic @ 214:0592eb360af2
tests:
- added dynload_plain test
- added some more output to resolv_self
- cleanups
author |
Tassilo Philipp |
date |
Thu, 06 Apr 2017 02:13:57 +0200 |
parents |
|
children |
a94a9a83dae6 |
rev |
line source |
214
|
1 APP = dynload_plain
|
|
2 OBJS = dynload_plain.o
|
|
3 SRCTOP = ${VPATH}/../..
|
|
4 BLDTOP = ../..
|
|
5 CFLAGS += -I${SRCTOP}/dynload
|
|
6 LDLIBS_D += -L${BLDTOP}/dynload -ldynload_s
|
|
7 # Works on: Darwin, NetBSD.
|
|
8 # Linux: add '-ldl'
|
|
9 .PHONY: all clean install
|
|
10 all: ${APP}
|
|
11 ${APP}: ${OBJS}
|
|
12 ${CC} ${CFLAGS} ${LDFLAGS} ${OBJS} ${LDLIBS_D} ${LDLIBS} -o ${APP}
|
|
13 clean:
|
|
14 rm -f ${APP} ${OBJS}
|
|
15 install:
|
|
16 mkdir -p ${PREFIX}/test
|
|
17 cp ${APP} ${PREFIX}/test
|
|
18
|