view test/thunk/Makefile.embedded @ 378:4d6c594b15ab

- removed unsupported syscall mode from macos/arm64 callvm, so trying to use it will safely return an error
author Tassilo Philipp
date Mon, 28 Dec 2020 14:12:14 +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}