view TaskManager/Makefile @ 352:3f5289873643

add global_alloc.h
author admin@mb22-no-macbook-2.local
date Mon, 13 Jul 2009 19:25:10 +0900
parents ec52ff39e140
children c7a4818cdfcb
line wrap: on
line source

include ./Makefile.def

TAGS       = gtags
TAGSOPTION = 
TAGSFILE   = GPATH GRTAGS GSYMS GTAGS

default: fifo

fifo: FORCE
	@$(MAKE) -f Makefile.fifo

cell: FORCE
	@$(MAKE) -f Makefile.cell

FORCE:

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_SYSTASK_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)
	rm -f $(IMPL_FIFO_OBJS) $(IMPL_CELL_OBJS)
	$(MAKE) -f Makefile.cell cellclean
	$(MAKE) -f Makefile.fifo fifoclean
	rm -f *.a

tags:
	$(TAGS) $(TAGSOPTION)