Mercurial > pub > dyncall > dyncall
view test/malloc_wx/Makefile.generic @ 226:6e40eb9fb261
- different strategy for mach-o files to lookup symbol names, in order to be consistent with other functions (that use dladdr() and dlsym() calls, which mostly don't use '_' prefixes)
author | Tassilo Philipp |
---|---|
date | Sat, 15 Apr 2017 22:02:58 +0200 |
parents | 3e629dc19168 |
children |
line wrap: on
line source
APP = malloc_wx OBJS = test_wx.o SRCTOP = ${VPATH}/../.. BLDTOP = ../.. CFLAGS += -I${SRCTOP}/dyncallback -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