lh | 9ed821d | 2023-04-07 01:36:19 -0700 | [diff] [blame^] | 1 | #***********************************************************************
|
| 2 | # °æÈ¨ËùÓÐ (C)2001,ÖÐÐËͨѶ¹É·ÝÓÐÏÞ¹«Ë¾¡£
|
| 3 | #
|
| 4 | # ÎļþÃû³Æ£º makefile
|
| 5 | # Îļþ±êʶ£º ±àÒëhalÄ£¿é
|
| 6 | # ÄÚÈÝÕªÒª£º
|
| 7 | #
|
| 8 | # ÐÞ¸ÄÈÕÆÚ °æ±¾ºÅ Ð޸ıê¼Ç ÐÞ¸ÄÈË ÐÞ¸ÄÄÚÈÝ
|
| 9 | # ---------------------------------------------------------------------
|
| 10 | # 2008/11/17 V1.0 huji create
|
| 11 | #***********************************************************************/
|
| 12 |
|
| 13 | include $(TOPDIR)/config.mk
|
| 14 |
|
| 15 | LIB := $(obj)libefuse.o
|
| 16 |
|
| 17 | COBJS-y += efuse.o
|
| 18 |
|
| 19 |
|
| 20 |
|
| 21 | COBJS := $(COBJS-y)
|
| 22 | SRCS := $(COBJS:.o=.c)
|
| 23 | OBJS := $(addprefix $(obj),$(COBJS))
|
| 24 |
|
| 25 | all: $(LIB)
|
| 26 |
|
| 27 | $(LIB): $(obj).depend $(OBJS)
|
| 28 | $(call cmd_link_o_target, $(OBJS))
|
| 29 |
|
| 30 |
|
| 31 | #########################################################################
|
| 32 |
|
| 33 | # defines $(obj).depend target
|
| 34 | include $(SRCTREE)/rules.mk
|
| 35 |
|
| 36 | sinclude $(obj).depend
|
| 37 |
|
| 38 | ########################################################################
|