view test/callback_suite/Makefile.embedded @ 215:2beca1d11c96

- dynload_plain test now run with helper script - added __aarch64__ detection to autovars (b/c still not merged with dyncall_macros)
author Tassilo Philipp
date Thu, 06 Apr 2017 02:17:35 +0200
parents 3e629dc19168
children 7608e34098b0
line wrap: on
line source

APP = callback_suite
OBJS = env.o handler.o sigstrings.o invokers.o do_test.o main.o print.o signature_utils.o

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

all: ${APP}

.PHONY: all clean install

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

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