Mike Dunn | cefef69 | 2013-06-18 11:08:50 -0700 | [diff] [blame^] | 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 | |
| 9 | include $(TOPDIR)/config.mk |
| 10 | |
| 11 | LIB = $(obj)lib$(BOARD).o |
| 12 | |
| 13 | COBJS := palmtreo680.o |
| 14 | |
| 15 | SRCS := $(COBJS:.o=.c) |
| 16 | OBJS := $(addprefix $(obj),$(COBJS)) |
| 17 | |
| 18 | $(LIB): $(obj).depend $(OBJS) |
| 19 | $(call cmd_link_o_target, $(OBJS)) |
| 20 | |
| 21 | clean: |
| 22 | rm -f $(OBJS) |
| 23 | |
| 24 | distclean: clean |
| 25 | rm -f $(LIB) core *.bak $(obj).depend |
| 26 | |
| 27 | ######################################################################### |
| 28 | |
| 29 | # defines $(obj).depend target |
| 30 | include $(SRCTREE)/rules.mk |
| 31 | |
| 32 | sinclude $(obj).depend |
| 33 | |
| 34 | ######################################################################### |