view test/callback_plain/Makefile.generic @ 323:6ffb6a00cf55

- cosmetics and comments cleanup for readability
author Tassilo Philipp
date Sat, 16 Nov 2019 00:15:58 +0100
parents 3e629dc19168
children c1eba6f08064
line wrap: on
line source

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