Mercurial > pub > dyncall > dyncall
annotate test/thunk/Makefile.generic @ 553:a93bb23fca8c
win build fix
author | Tassilo Philipp |
---|---|
date | Mon, 20 Jun 2022 15:25:01 +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 |