# EPOS Allocated Makefile
#
# Author: Guto

include $(EPOS)/makedefs

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

$(LIBSYS):	late.o ahead.o 
		$(AR) $(ARFLAGS) $@ $^

$(LIBDATA):	late_data.o ahead_data.o 
		$(AR) $(ARFLAGS) $@ $^

$(LIBINIT):	late_init.o ahead_init.o 
		$(AR) $(ARFLAGS) $@ $^

test:		allocated_test late_test ahead_test 

print:
		$(PRINT) $(INCLUDE)/allocated.h
		$(PRINT) $(INCLUDE)/system/aspects/allocated/late.h late.cc
		$(PRINT) $(INCLUDE)/system/aspects/allocated/ahead.h ahead.cc

clean:
		$(CLEAN) *.o *_test

