Mercurial > pub > dyncall > dyncall
view test/dynload_plain/Makefile.embedded @ 251:3f7c69fadfc3
- regression fix for changing writable to executable memory for platforms where
mmap has no MAP_ANON (usually older platforms, e.g. solaris 7)
author | Tassilo Philipp |
---|---|
date | Sun, 14 May 2017 02:26:21 +0200 |
parents | 0592eb360af2 |
children | 7c6f19d42b31 |
line wrap: on
line source
APP = dynload_plain OBJS = dynload_plain.o TOP = ../.. CFLAGS += -I${TOP}/dynload LDFLAGS += -L${TOP}/dynload LDLIBS += -ldynload_s # Works on: Darwin, NetBSD. # Linux: add '-ldl' all: ${APP} .PHONY: all clean ${APP}: ${OBJS} ${CC} ${OBJS} ${LDFLAGS} ${LDLIBS} -o $@ clean: rm -f ${APP} ${OBJS}