annotate test/thunk/Makefile.generic @ 571:996424e8a5fc
test/dynload_plain: use same CFLAGS to build UTF-8 path helper lib with as for main build (fixes building this helper lib w/ incompatible instruction set on some platforms)
author |
Tassilo Philipp |
date |
Sun, 04 Sep 2022 16:29:30 +0200 |
parents |
3e629dc19168 |
children |
64880e3f286c |
rev |
line source |
0
|
1 APP = thunk
|
|
2 OBJS = test_thunk.o
|
|
3 SRCTOP = ${VPATH}/../..
|
|
4 BLDTOP = ../..
|
|
5 CFLAGS += -I${SRCTOP}/dyncallback -I${SRCTOP}/dyncall
|
|
6 LDLIBS += -L${BLDTOP}/dyncallback -ldyncallback_s
|
|
7 .PHONY: all clean install
|
|
8 all: ${APP}
|
|
9 ${APP}: ${OBJS}
|
|
10 ${CC} ${CFLAGS} ${LDFLAGS} ${OBJS} ${LDLIBS} -o ${APP}
|
|
11 clean:
|
|
12 rm -f ${APP} ${OBJS}
|
|
13 install:
|
|
14 mkdir -p ${PREFIX}/test
|
|
15 cp ${APP} ${PREFIX}/test
|
|
16
|