view test/ellipsis/Makefile.generic @ 174:a8052efbde18

- loosened OS detection macros a bit to not bail out and thus make it easier to use dyncall on baremetal
author cslag
date Wed, 08 Feb 2017 12:56:59 +0100
parents 3e629dc19168
children ef356272a1c7
line wrap: on
line source

APP       = ellipsis
OBJS      = ellipsis.o main.o
SRCTOP    = ${VPATH}/../..
BLDTOP    = ../..
CXXFLAGS += -I${SRCTOP}/dyncall
LDLIBS   += -L${BLDTOP}/dyncall -ldyncall_s
.PHONY: all clean install
all: ${APP}
${APP}: ${OBJS} 
	${CXX} ${CXXFLAGS} ${LDFLAGS} ${OBJS} ${LDLIBS} -o ${APP} 
clean:
	rm -f ${APP} ${OBJS}
install:
	mkdir -p ${PREFIX}/test
	cp ${APP} ${PREFIX}/test