Makefile 760 B

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