view test/resolve_self/Makefile.generic @ 539:0c3f5355769d

- test code: dcmode setting order fix, test worked but was incorrect according to the definition/doc
author Tassilo Philipp
date Sun, 24 Apr 2022 13:48:59 +0200
parents 7520e2260097
children 14c582c828b9
line wrap: on
line source

APP       = resolve_self
OBJS      = main.o
SRCTOP    = ${VPATH}/../..
BLDTOP    = ../..
CFLAGS   += -I${SRCTOP}/dynload
LDFLAGS  += -rdynamic
LDLIBS_D  = -L${BLDTOP}/dynload -ldynload_s 
.PHONY: all clean install
all: ${APP}
${APP}: ${OBJS} 
	${CC} ${CFLAGS} ${LDFLAGS} ${OBJS} ${LDLIBS_D} ${LDLIBS} -o ${APP}
clean:
	rm -f ${APP} ${OBJS}
install:
	mkdir -p ${PREFIX}/test
	cp ${APP} ${PREFIX}/test