# Customer ID=7729; Build=0x71521; Copyright (c) 2006-2013 Tensilica Inc.  ALL RIGHTS RESERVED.
# 
# These coded instructions, statements, and computer programs are the
# copyrighted works and confidential proprietary information of
# Tensilica Inc.  They may be adapted and modified by bona fide
# purchasers for internal use, but neither the original nor any adapted
# or modified version may be disclosed or distributed to third parties
# in any manner, medium, or form, in whole or in part, without the prior
# written consent of Tensilica Inc.


LIBRARY_NAME = simple_memory.plugin
EXAMPLE_NAME = simple_memory$(EXE)
TEST_NAME    = $(LIBRARY)
XTSC_PLUGIN  = 1

LIBRARY_OBJECTS = $(LIBRARY_NAME).$(OBJ)

HOST_OBJECTS = sc_main.$(OBJ)

TARGET_OBJECTS = target/hello.out
NO_TIE = 1
EXAMPLE_DIR = $(CURDIR)

include $(EXAMPLE_DIR)/../Makefile.include
include $(EXAMPLE_DIR)/../Makefile.common

CXXFLAGS += /wd4297

.PHONY: xtsc-run sc_main
xtsc-run: library
all: library
sc_main: $(LIBRARY)
sc_main.cpp: sc_main

very.clean: sc_main.clean
