view test/suite/Makefile.generic @ 233:8216c86b4cbc

- make dynload_plain test build on windows
author Tassilo Philipp
date Sun, 16 Apr 2017 17:50:55 +0200
parents 3e629dc19168
children
line wrap: on
line source

APP     = suite
OBJS    = case.o main.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