34 lines
1.1 KiB
Makefile
Executable File
34 lines
1.1 KiB
Makefile
Executable File
#/*
|
||
#*********************************************************************************************************
|
||
#* MELIS
|
||
#* the Easy Portable/Player Develop Kits
|
||
#* makefile Module
|
||
#*
|
||
#* (c) Copyright 2006-2010, kevin.z China
|
||
#* All Rights Reserved
|
||
#*
|
||
#* File : makefile
|
||
#* By : kevin.z
|
||
#* Version : v1.0
|
||
#* Date : 2010-9-3 9:39
|
||
#* Descript:
|
||
#* Update : date auther ver notes
|
||
#*********************************************************************************************************
|
||
#*/
|
||
|
||
|
||
#<23><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>
|
||
include make.cfg
|
||
|
||
#从所有子目录中得到源代码的列表
|
||
SRCCS=$(foreach dir,$(SRCDIRS),$(wildcard $(dir)/*.c))
|
||
SRCSS=$(foreach dir,$(SRCDIRS),$(wildcard $(dir)/*.s))
|
||
|
||
#得到源代码对应的目标文件的列表
|
||
OBJS=$(SRCCS:.c=.o) $(SRCSS:.s=.o)
|
||
|
||
# ɾ<><C9BE><EFBFBD><EFBFBD><EFBFBD>ɵ<EFBFBD><C9B5>м<EFBFBD><D0BC>ļ<EFBFBD>
|
||
clean:
|
||
-rm $(OBJS) $(LOCALTARGET) $(TEMPTARGET)
|
||
|