Makefile 737 B

1234567891011121314151617181920212223242526272829303132
  1. #
  2. # Copyright (C) 2011 Renesas Electronics Europe Ltd.
  3. #
  4. # This file is released under the terms of GPL v2 and any later version.
  5. # See the file COPYING in the root directory of the source tree for details.
  6. include $(TOPDIR)/config.mk
  7. LIB = lib$(BOARD).o
  8. OBJS := rsk7264.o
  9. SOBJS := lowlevel_init.o
  10. LIB := $(addprefix $(obj),$(LIB))
  11. OBJS := $(addprefix $(obj),$(OBJS))
  12. SOBJS := $(addprefix $(obj),$(SOBJS))
  13. $(LIB): $(obj).depend $(OBJS) $(SOBJS)
  14. $(call cmd_link_o_target, $(OBJS) $(SOBJS))
  15. clean:
  16. rm -f $(SOBJS) $(OBJS)
  17. distclean: clean
  18. rm -f $(LIB) core *.bak .depend
  19. #########################################################################
  20. # defines $(obj).depend target
  21. include $(SRCTREE)/rules.mk
  22. sinclude $(obj).depend