include ./Makefile.def TAGS = gtags TAGSOPTION = TAGSFILE = GPATH GRTAGS GSYMS GTAGS EXAM = ../example default: parallel fifo: FORCE @$(MAKE) -f Makefile.fifo fifo64: FORCE @$(MAKE) -f Makefile.fifo ABIBIT=64 depend: FORCE @$(MAKE) -f Makefile.fifo depend cell: FORCE @$(MAKE) -f Makefile.cell parallel: FORCE @$(MAKE) -f Makefile.parallel gpu: FORCE @$(MAKE) -f Makefile.gpu cuda: FORCE @$(MAKE) -f Makefile.cuda FORCE: -mkdir -p ../include/TaskManager rsync `find . -name Test -prune -or -name '*.h' -print` ../include/TaskManager parallel-test: @echo "Bulk" @cd $(EXAM)/Bulk;make clean;make parallel-test @echo "FFT" @cd $(EXAM)/fft;make clean;make parallel-test @echo "WordCount" @cd $(EXAM)/word_count;make clean;make parallel-test distclean: clean rm -f $(TAGSFILE) $(MAKE) -f Makefile.cell celldistclean $(MAKE) -f Makefile.fifo fifodistclean clean: rm -f *~ \#* rm -f $(TARGET) cd $(KERN_DIR); rm -f *~ \#* cd $(KERN_PPE_DIR); rm -f *~ \#* cd $(KERN_SPE_DIR); rm -f *~ \#* cd $(KERN_SCHED_DIR); rm -f *~ \#* cd $(KERN_MEM_DIR); rm -f *~ \#* cd $(KERN_SYSTASK_DIR); rm -f *~ \#* cd $(KERN_MEM_DIR); rm -f *~ \#* cd $(IMPL_FIFO_DIR); rm -f *~ \#* cd $(IMPL_CELL_DIR); rm -f *~ \#* rm -f $(KERN_MAIN_OBJS) $(KERN_PPE_OBJS) $(KERN_SPE_OBJS) \ $(KERN_SCHED_OBJS) $(KERN_SYSTASK_OBJS) $(KERN_MEM_OBJS) rm -f $(IMPL_FIFO_OBJS) $(IMPL_CELL_OBJS) $(MAKE) -f Makefile.cell cellclean $(MAKE) -f Makefile.fifo fifoclean $(MAKE) -f Makefile.gpu gpuclean $(MAKE) -f Makefile.cuda cudaclean rm -rf *.a ../include tags: $(TAGS) $(TAGSOPTION) -include ./Makefile.dep