/examples/Makefile
Makefile | 36 lines | 18 code | 11 blank | 7 comment | 0 complexity | 662fca1a0fe4c5244f7433bc4760572b MD5 | raw file
1.PHONY: all clean 2all: example_wrap example example_balancing tests 3 4#VERSION=-version=rop -version=costlyinvariants -version=paranoid 5VERSION=-version=rop 6 7DDOC=-D -Ddddoc ddoc/candydoc/candy.ddoc ddoc/candydoc/modules.ddoc 8 9DMD=dmd2 10#DFLAGS=-w -debug -unittest -g -gc $(VERSION) 11#DFLAGS=-w -profile -debug -unittest -g -gc $(DDOC) $(VERSION) 12#DFLAGS=-w -debug -unittest $(DDOC) $(VERSION) 13#DFLAGS=-w -O -inline -release -unittest $(DDOC) $(VERSION) 14#DFLAGS=-w -O -inline -release $(VERSION) 15#DFLAGS=-O -inline -release -g -gc $(VERSION) 16DFLAGS=-O -inline -release $(VERSION) 17 18 19tests: tests.d cord_l.d ../cords.d ../RBt.d 20 $(DMD) $(DFLAGS) -oftests tests.d ../cord_l.d ../cords.d utils/timer.d utils/log.d ../RBt.d 21 22example: example.d ../cords.d ../RBt.d 23 $(DMD) $(DFLAGS) -ofexample example.d ../cords.d utils/timer.d utils/log.d ../RBt.d 24 25example_balancing: example_balancing.d ../cords.d ../RBt.d 26 $(DMD) $(DFLAGS) -ofexample_balancing example_balancing.d ../cords.d utils/timer.d utils/log.d ../RBt.d 27 28example_wrap: example_wrap.d ../cords.d ../RBt.d 29 $(DMD) $(DFLAGS) -ofexample_wrap example_wrap.d ../cords.d utils/timer.d utils/log.d ../RBt.d 30 31example_readme: example_readme.d ../cords.d ../RBt.d 32 $(DMD) $(DFLAGS) -ofexample_readme example_readme.d ../cords.d utils/timer.d utils/log.d ../RBt.d 33 34 35clean: 36 rm *.o