cycle_ptr 0.1.0

Smart pointers, with cycles
.PHONE: all
all: test clippy

.PHONY: test  test.mwss test.mWss test.Mwss test.MWss \
              test.mwSs test.mWSs test.MwSs test.MWSs \
              test.mwsS test.mWsS test.MwsS test.MWsS \
              test.mwSS test.mWSS test.MwSS test.MWSS
.NOTPARALLEL: test.mwss test.mWss test.Mwss test.MWss \
              test.mwSs test.mWSs test.MwSs test.MWSs \
              test.mwsS test.mWsS test.MwsS test.MWsS \
              test.mwSS test.mWSS test.MwSS test.MWSS

test: test.mwss test.mWss test.Mwss test.MWss \
      test.mwSs test.mWSs test.MwSs test.MWSs \
      test.mwsS test.mWsS test.MwsS test.MWsS \
      test.mwSS test.mWSS test.MwSS test.MWSS

test.mwss:
	cargo test
	cargo test --examples

test.mWss:
	cargo test -F weak_pointer
	cargo test -F weak_pointer --examples

test.Mwss:
	cargo test -F multi_thread
	cargo test -F multi_thread --examples

test.MWss:
	cargo test -F multi_thread -F weak_pointer
	cargo test -F multi_thread -F weak_pointer --examples

test.mwSs:
	cargo test -F single_generation
	cargo test -F single_generation --examples

test.mWSs:
	cargo test -F weak_pointer -F single_generation
	cargo test -F weak_pointer -F single_generation --examples

test.MwSs:
	cargo test -F multi_thread -F single_generation
	cargo test -F multi_thread -F single_generation --examples

test.MWSs:
	cargo test -F multi_thread -F weak_pointer -F single_generation
	cargo test -F multi_thread -F weak_pointer -F single_generation --examples

test.mwsS:
	cargo test -F single_generation_mt
	cargo test -F single_generation_mt --examples

test.mWsS:
	cargo test -F single_generation_mt -F weak_pointer
	cargo test -F single_generation_mt -F weak_pointer --examples

test.MwsS:
	cargo test -F single_generation_mt -F multi_thread
	cargo test -F single_generation_mt -F multi_thread --examples

test.MWsS:
	cargo test -F single_generation_mt -F multi_thread -F weak_pointer
	cargo test -F single_generation_mt -F multi_thread -F weak_pointer --examples

test.mwSS:
	cargo test -F single_generation_mt -F single_generation
	cargo test -F single_generation_mt -F single_generation --examples

test.mWSS:
	cargo test -F single_generation_mt -F weak_pointer -F single_generation
	cargo test -F single_generation_mt -F weak_pointer -F single_generation --examples

test.MwSS:
	cargo test -F single_generation_mt -F multi_thread -F single_generation
	cargo test -F single_generation_mt -F multi_thread -F single_generation --examples

test.MWSS:
	cargo test -F single_generation_mt -F multi_thread -F weak_pointer -F single_generation
	cargo test -F single_generation_mt -F multi_thread -F weak_pointer -F single_generation --examples


.PHONY: clippy clippy.mwss clippy.mWss clippy.Mwss clippy.MWss \
               clippy.mwSs clippy.mWSs clippy.MwSs clippy.MWSs \
               clippy.mwsS clippy.mWsS clippy.MwsS clippy.MWsS \
               clippy.mwSS clippy.mWSS clippy.MwSS clippy.MWSS
.NOTPARALLEL:  clippy.mwss clippy.mWss clippy.Mwss clippy.MWss \
               clippy.mwSs clippy.mWSs clippy.MwSs clippy.MWSs \
               clippy.mwsS clippy.mWsS clippy.MwsS clippy.MWsS \
               clippy.mwSS clippy.mWSS clippy.MwSS clippy.MWSS

clippy: clippy.mwss clippy.mWss clippy.Mwss clippy.MWss \
        clippy.mwSs clippy.mWSs clippy.MwSs clippy.MWSs \
        clippy.mwsS clippy.mWsS clippy.MwsS clippy.MWsS \
        clippy.mwSS clippy.mWSS clippy.MwSS clippy.MWSS

clippy.mwss:
	cargo clippy

clippy.mWss:
	cargo clippy -F weak_pointer

clippy.Mwss:
	cargo clippy -F multi_thread

clippy.MWss:
	cargo clippy -F multi_thread -F weak_pointer

clippy.mwSs:
	cargo clippy -F single_generation

clippy.mWSs:
	cargo clippy -F weak_pointer -F single_generation

clippy.MwSs:
	cargo clippy -F multi_thread -F single_generation

clippy.MWSs:
	cargo clippy -F multi_thread -F weak_pointer -F single_generation

clippy.mwsS:
	cargo clippy -F single_generation_mt

clippy.mWsS:
	cargo clippy -F single_generation_mt -F weak_pointer

clippy.MwsS:
	cargo clippy -F single_generation_mt -F multi_thread

clippy.MWsS:
	cargo clippy -F single_generation_mt -F multi_thread -F weak_pointer

clippy.mwSS:
	cargo clippy -F single_generation_mt -F single_generation

clippy.mWSS:
	cargo clippy -F single_generation_mt -F weak_pointer -F single_generation

clippy.MwSS:
	cargo clippy -F single_generation_mt -F multi_thread -F single_generation

clippy.MWSS:
	cargo clippy -F single_generation_mt -F multi_thread -F weak_pointer -F single_generation