view test/suite2/Makefile.generic @ 341:ab2d78e48ca2

- gen-masm . fallback on clang if gcc not available . consolidated use of redundant scripts . regen of portasm based masm files - minor symbol name changes for clarity/consistency
author Tassilo Philipp
date Sat, 04 Jan 2020 23:00:02 +0100
parents 3e629dc19168
children
line wrap: on
line source

APP       = suite2
OBJS      = case.o main.o
SRCTOP    = ${VPATH}/../..
BLDTOP    = ../..
CXXFLAGS += -I${SRCTOP}/dyncall
LDLIBS   += -L${BLDTOP}/dyncall -ldyncall_s
.PHONY: all clean configure install
all: ${APP}
${APP}: ${OBJS} 
	${CXX} ${CXXFLAGS} ${LDFLAGS} ${OBJS} ${LDLIBS} -o ${APP} 
clean:
	rm -f ${APP} ${OBJS}
configure:
	python mkcase.py 1>case.h 2>config.h
install:
	mkdir -p ${PREFIX}/test
	cp ${APP} ${PREFIX}/test