# (C) 2009 DJG: University of Cambridge, SoC D/M.
# $Id: $  class3 Makefile
#

#
# Please see the web pages : http://www.cl.cam.ac.uk/research/srg/han/ACS-P35/am-toyesl/
#

include ../Makefile.def


CXXFLAGS=-Wall -g -Wno-deprecated -I$(SYSCDIR)/include -I$(SOCDAM)/TLM-2008-06-09/include/tlm -I..


all: 
	echo "Please enter make target where target is one of single, dual or nonsysc"
# 
# dual  single  nonsysc


dual:rtl-twocpucores.cpp 
	g++ $(CXXFLAGS) rtl-twocpucores.cpp $(LDFLAGS)
	./a.out

single:rtl-onecpucore.cpp 
	g++ $(CXXFLAGS) rtl-onecpucore.cpp $(LDFLAGS)
	./a.out

nonsysc:nonsyscmain.cpp 
	g++ $(CXXFLAGS) nonsyscmain.cpp
	./a.out


#eof
