view test/malloc_wx/Makefile.embedded @ 246:06a354b2e120

changes for dynload for macOS and OpenBSD: - reverted last commit, b/c of brainfat (wrongly assuming all libs iterated over are opened by dynload) - make use of RTLD_NOLOAD, though, when re-dlopen-ing to get path, for performance (where available)
author Tassilo Philipp
date Thu, 04 May 2017 23:38:30 +0200
parents 3e629dc19168
children
line wrap: on
line source

APP = malloc_wx
OBJS = test_wx.o

TOP      = ../..
CFLAGS  += -I${TOP}/dyncallback -I${TOP}/dyncall
LDFLAGS += -L${TOP}/dyncallback
LDLIBS  += -ldyncallback_s

all: ${APP}

.PHONY: all clean 

${APP}: ${OBJS} 
	${CC} ${OBJS} ${LDFLAGS} ${LDLIBS} -o ${APP} 

clean:
	rm -f ${APP} ${OBJS}