view test/plain/Makefile.generic @ 346:d3d6dbe3c2bc

Added tag r1.1-RC2 for changeset c607d67cd6b8
author Tassilo Philipp
date Wed, 08 Jan 2020 02:39:45 +0100
parents 3e629dc19168
children 71c884e610f0
line wrap: on
line source

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