view test/plain_c++/Makefile.embedded @ 313:73b5b9e224e2

- dynload_plain test: stability fix for picking right testing lib on build
author Tassilo Philipp
date Tue, 05 Nov 2019 15:19:16 +0100
parents 3e629dc19168
children
line wrap: on
line source

APP      = plain_c++
OBJS     = test_main.o
TOP      = ../..
CFLAGS  += -I${TOP}/dyncall
LDFLAGS += -L${TOP}/dyncall
LDLIBS  += -ldyncall_s 

all: ${APP}

.PHONY: all clean install

${APP}: ${OBJS} 
	${CXX} ${OBJS} ${LDFLAGS} ${LDLIBS} -o ${APP}

clean:
	rm -f ${APP} ${OBJS}