view test/syscall/Makefile.generic @ 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
line wrap: on
line source

APP       = syscall
OBJS      = syscall.o
SRCTOP    = ${VPATH}/../..
BLDTOP    = ../..
CFLAGS   += -I${SRCTOP}/dyncall
LDLIBS   += -L${BLDTOP}/dyncall -ldyncall_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