annotate test/suite/Makefile.embedded @ 356:2f64957d6a46
- fix to dynload to build with musl libc (latter has dlinfo but not RTLD_SELF, so fallback to dl_iterate_phdr if on ELF targets)
author |
Tassilo Philipp |
date |
Tue, 25 Feb 2020 16:07:45 +0100 |
parents |
3e629dc19168 |
children |
|
rev |
line source |
0
|
1 APP = suite
|
|
2 OBJS = case.o main.o
|
|
3 SRCTOP = ../..
|
|
4 BLDTOP = ../..
|
|
5 CFLAGS += -I${SRCTOP}/dyncall
|
|
6 LDFLAGS += -L${BLDTOP}/dyncall
|
|
7 LDLIBS += -ldyncall_s
|
|
8
|
|
9 .PHONY: all clean autogen
|
|
10 all: ${APP}
|
|
11 ${APP}: ${OBJS}
|
|
12 ${CC} ${OBJS} ${LDFLAGS} ${LDLIBS} -o ${APP}
|
|
13 clean:
|
|
14 rm -f ${APP} ${OBJS}
|
|
15 autogen:
|
|
16 python mkcase.py >case.h 2>config.h
|