view test/thunk/Makefile.embedded @ 181:37e1ddcb25f1

- removed .note.GNU-stack hint for openbsd, b/c of it always being interpreted as "need execstack" and not needed, b/c of way saner defaults on OpenBSD
author cslag
date Fri, 10 Feb 2017 12:15:35 +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}