view test/thunk/Makefile.embedded @ 185:a41bc98e101c

- impl. for allocwx stuff on POSIX-strict systems where there is no MAP_ANON for mmap()
author Tassilo Philipp
date Fri, 24 Feb 2017 23:05:53 +0100
parents 3e629dc19168
children
line wrap: on
line source

APP = thunk
OBJS = test_thunk.o

SRCTOP   = ../..
BLDTOP   = ../..
CFLAGS  += -I${SRCTOP}/dyncallback -I${SRCTOP}/dyncall
LDFLAGS += -L${BLDTOP}/dyncallback
LDLIBS  += -ldyncallback_s
LINK     = ${CC}

all: ${APP}

.PHONY: all clean 

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

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