view test/thunk/Makefile.generic @ 203:3999750fae28

- allocwx changes from last commit mentioned in Changelog and adapted testcode
author Tassilo Philipp
date Tue, 21 Mar 2017 02:31:55 +0100
parents 3e629dc19168
children
line wrap: on
line source

APP     = thunk
OBJS    = test_thunk.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