view test/callback_plain/Makefile.generic @ 443:c1eba6f08064

- added test/suite_aggr to makefiles
author Tassilo Philipp
date Wed, 26 Jan 2022 16:14:07 +0100
parents 3e629dc19168
children 1359f3b57219
line wrap: on
line source

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