view test/plain/Makefile.generic @ 635:840a870c093c

- add flag to configure.bat to generate *nix makefiles (can be used to gen a mostly working *nix make build env run with batch, not logical but useful in some zombie setups)
author Tassilo Philipp
date Sun, 20 Nov 2022 22:14:39 +0100
parents 71c884e610f0
children
line wrap: on
line source

APP     = plain
OBJS    = test_main.o test_aggrs.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