TENART Antoine | 425faf7 | 2013-07-02 12:06:00 +0200 | [diff] [blame] | 1 | # |
| 2 | # Copyright (C) 2013, Adeneo Embedded <www.adeneo-embedded.com> |
| 3 | # Antoine Tenart, <atenart@adeneo-embedded.com> |
| 4 | # |
| 5 | # Based on TI-PSP-04.00.02.14 : |
| 6 | # |
| 7 | # Copyright (C) 2009, Texas Instruments, Incorporated |
| 8 | # |
| 9 | # SPDX-License-Identifier: GPL-2.0 |
| 10 | # |
| 11 | |
| 12 | include $(TOPDIR)/config.mk |
| 13 | |
| 14 | LIB = $(obj)lib$(BOARD).o |
| 15 | |
| 16 | COBJS := evm.o |
| 17 | |
| 18 | SRCS := $(SOBJS:.o=.S) $(COBJS:.o=.c) |
| 19 | OBJS := $(addprefix $(obj),$(COBJS)) |
| 20 | |
| 21 | $(LIB): $(obj).depend $(OBJS) |
| 22 | $(call cmd_link_o_target, $(OBJS)) |
| 23 | |
| 24 | clean: |
| 25 | rm -f $(OBJS) |
| 26 | |
| 27 | distclean: clean |
| 28 | rm -f $(LIB) core *.bak $(obj).depend |
| 29 | |
| 30 | ######################################################################### |
| 31 | |
| 32 | # defines $(obj).depend target |
| 33 | include $(SRCTREE)/rules.mk |
| 34 | |
| 35 | sinclude $(obj).depend |
| 36 | |
| 37 | ######################################################################### |