Makefile 755 B

12345678910111213141516171819202122232425262728293031323334
  1. #
  2. # Palm Treo680 Support
  3. #
  4. # Copyright (C) 2013 Mike Dunn <mikedunn@newsguy.com>
  5. #
  6. # This file is released under the terms of GPL v2 and any later version.
  7. # See the file COPYING in the root directory of the source tree for details.
  8. include $(TOPDIR)/config.mk
  9. LIB = $(obj)lib$(BOARD).o
  10. COBJS := palmtreo680.o
  11. SRCS := $(COBJS:.o=.c)
  12. OBJS := $(addprefix $(obj),$(COBJS))
  13. $(LIB): $(obj).depend $(OBJS)
  14. $(call cmd_link_o_target, $(OBJS))
  15. clean:
  16. rm -f $(OBJS)
  17. distclean: clean
  18. rm -f $(LIB) core *.bak $(obj).depend
  19. #########################################################################
  20. # defines $(obj).depend target
  21. include $(SRCTREE)/rules.mk
  22. sinclude $(obj).depend
  23. #########################################################################