Makefile 757 B

12345678910111213141516171819202122232425262728
  1. # (C) Copyright 2013 Freescale Semiconductor, Inc.
  2. #
  3. # This program is free software; you can redistribute it and/or
  4. # modify it under the terms of the GNU General Public License as
  5. # published by the Free Software Foundation; either version 2 of
  6. # the License, or (at your option) any later version.
  7. #
  8. include $(TOPDIR)/config.mk
  9. LIB = $(obj)lib$(BOARD).o
  10. COBJS := mx6slevk.o
  11. SRCS := $(COBJS:.o=.c)
  12. OBJS := $(addprefix $(obj),$(COBJS))
  13. $(LIB): $(obj).depend $(OBJS)
  14. $(call cmd_link_o_target, $(OBJS))
  15. #########################################################################
  16. # defines $(obj).depend target
  17. include $(SRCTREE)/rules.mk
  18. sinclude $(obj).depend
  19. #########################################################################