view test/thunk/Makefile.embedded @ 664:64880e3f286c default tip

- test/thunk: disable output buffering (might not be able catch segfaults on stack without SA_ONSTACK, so print maximum for when handler isn't called)
author Tassilo Philipp
date Thu, 23 May 2024 16:05:45 +0200
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}