# Get the macros used to build the simulation library
include ../../make.inc
INCLUDE += -I../../src
# This example requires the adevs link library
LIBS += -L$(ADEVS_HOME)/trunk/src -ladevs

OBJS = \
	AbstractBusModel.o \
	FreqSensor.o \
	GenrDisconnectSensor.o \
	GenrFail.o \
	LoadControl.o \
	PacketGenr.o \
	QueueBus.o \
	QueueDelayBus.o \
	sim.o 

example: $(OBJS)
	$(CXX) -o example $(CFLAGS) $(OBJS) -L../../src -lthyme $(LIBS) 

clean:
	rm -f *.o a.out *.dat *.gnu example
