Mercurial > pub > dyncall > dyncall
annotate test/suite_floats/Makefile.generic @ 665:ef356272a1c7 default tip
- introduced Makefile var APP_SUFFIX to handle cases where compilers implicitly add an extension to executables (e.g. llvm/mingw64 adds .exe even of not specified via -o)
author | Tassilo Philipp |
---|---|
date | Thu, 20 Jun 2024 17:10:12 +0200 |
parents | 3e629dc19168 |
children |
rev | line source |
---|---|
665
ef356272a1c7
- introduced Makefile var APP_SUFFIX to handle cases where compilers implicitly add an extension to executables (e.g. llvm/mingw64 adds .exe even of not specified via -o)
Tassilo Philipp
parents:
0
diff
changeset
|
1 APP = suite_floats${APP_SUFFIX} |
0 | 2 OBJS = case.o main.o |
3 SRCTOP = ${VPATH}/../.. | |
4 BLDTOP = ../.. | |
5 CXXFLAGS += -I${SRCTOP}/dyncall | |
6 LDLIBS += -L${BLDTOP}/dyncall -ldyncall_s | |
7 .PHONY: all clean install | |
8 all: ${APP} | |
9 ${APP}: ${OBJS} | |
10 ${CXX} ${CXXFLAGS} ${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 |