# on batit le runtime

include ../configuration

RM=rm -f

RUN= gc.a

RUN_C= gm.c gc.c alloc.c regions.c #monitor.o

RUN_O= $(RUN_C:.c=.o)

work: $(RUN)

$(RUN): $(RUN_O)
	ar rc $(RUN) $(RUN_O)
	ranlib $(RUN)

install: 
	cp $(RUN) $(LIBDIR)

clean: ; - $(RM) $(RUN_O)

scratch: clean
	- $(RM) $(RUN)

### Dependances

$(RUN_O): ../Include/z2k2.h ../Include/config.h
gm.o: ../Include/parametres.h ../Include/public.h private.h monitor.h
gc.o: ../Include/parametres.h ../Include/public.h private.h monitor.h gc.h
alloc.o: ../Include/parametres.h ../Include/public.h private.h gc.h ../Include/alloc.h
monitor.o: ../Include/parametres.h ../Include/public.h private.h gc.h ../Include/alloc.h monitor.h
regions.o: ../Include/public.h
