Mercurial > pub > dyncall > dyncall
view test/callback_plain/Makefile.generic @ 56:2cccd38e5e4d
- added -lm in GNU/kFreeBSD config, to build all tests out of the box
- cosmetics
author | cslag |
---|---|
date | Fri, 25 Dec 2015 21:16:04 +0100 |
parents | 3e629dc19168 |
children | c1eba6f08064 |
line wrap: on
line source
APP = callback_plain OBJS = callback_plain.o SRCTOP = ${VPATH}/../.. BLDTOP = ../.. CFLAGS += -I${SRCTOP}/dyncall LDLIBS += -L${BLDTOP}/dyncallback -ldyncallback_s .PHONY: all clean install all: ${APP} ${APP}: ${OBJS} ${CC} ${CFLAGS} ${LDFLAGS} ${OBJS} ${LDLIBS} -o ${APP} clean: rm -f ${APP} ${OBJS} install: mkdir -p ${PREFIX}/test cp ${APP} ${PREFIX}/test