# EPOS Debugged Makefile
#
# Author: Guto

include $(EPOS)/makedefs

all:		$(LIBSYS) $(LIBDATA) $(LIBINIT)

$(LIBSYS):	watched.o traced.o profiled.o 
		$(AR) $(ARFLAGS) $@ $^

$(LIBDATA):	watched_data.o traced_data.o profiled_data.o 
		$(AR) $(ARFLAGS) $@ $^

$(LIBINIT):	watched_init.o traced_init.o profiled_init.o 
		$(AR) $(ARFLAGS) $@ $^

test:		debugged_test watched_test traced_test profiled_test 

print:
		$(PRINT) $(INCLUDE)/debugged.h
		$(PRINT) $(INCLUDE)/system/aspects/debugged/watched.h watched.cc
		$(PRINT) $(INCLUDE)/system/aspects/debugged/traced.h traced.cc
		$(PRINT) $(INCLUDE)/system/aspects/debugged/profiled.h profiled.cc

clean:
		$(CLEAN) *.o *_test

