Mercurial > pub > dyncall > dyncall
view test/suite3/Makefile.generic @ 565:d1fa4b5a41f7
- Makefile show-tool-versions target: use more portable -V flag for version number output (works with lld & gnu ld, required for solaris ld)
author | Tassilo Philipp |
---|---|
date | Sun, 04 Sep 2022 10:36:51 +0200 |
parents | 3e629dc19168 |
children | 22e4e3f06797 |
line wrap: on
line source
APP = suite3 OBJS = case.o main.o SRCTOP = ${VPATH}/../.. BLDTOP = ../.. CPPFLAGS += -I${SRCTOP}/dyncall LDLIBS += -L${BLDTOP}/dyncall -ldyncall_s .PHONY: all clean install all: ${APP} ${APP}: ${OBJS} ${CXX} ${CXXFLAGS} ${LDFLAGS} ${OBJS} ${LDLIBS} -o ${APP} clean: rm -f ${APP} ${OBJS} install: mkdir -p ${PREFIX}/test cp ${APP} ${PREFIX}/test