comparison gsm-fw/g23m-aci/Makefile @ 821:5c4381b80bd2

g23m-aci/Makefile: everything hooked in
author Space Falcon <falcon@ivan.Harhan.ORG>
date Sun, 05 Apr 2015 18:00:32 +0000
parents 1e4dbee8dcfd
children
comparison
equal deleted inserted replaced
820:c421163143a0 821:5c4381b80bd2
1 LD= arm-elf-ld
2
1 SUBDIR= aci aci_dti_mng aci_ext ati_ext bat dti gdd_dio ksd l2p uart 3 SUBDIR= aci aci_dti_mng aci_ext ati_ext bat dti gdd_dio ksd l2p uart
2 4
3 all: ${SUBDIR} 5 XIP_OBJS= aci/xipcode.o aci_dti_mng/dti_conn_mng.o \
6 aci_ext/aci_ext_pers.o ati_ext/ati_ext_mech.o ksd/xipcode.o \
7 uart/xipcode.o
8
9 all: xipcode.o dti
4 10
5 ${SUBDIR}: FRC 11 ${SUBDIR}: FRC
6 cd $@; ${MAKE} ${MFLAGS} 12 cd $@; ${MAKE} ${MFLAGS}
13
14 aci/xipcode.o: aci
15 @true
16
17 aci_dti_mng/dti_conn_mng.o: aci_dti_mng
18 @true
19
20 aci_ext/aci_ext_pers.o: aci_ext
21 @true
22
23 ati_ext/ati_ext_mech.o: ati_ext
24 @true
25
26 ksd/xipcode.o: ksd
27 @true
28
29 uart/xipcode.o: uart
30 @true
31
32 xipcode.o: ${XIP_OBJS}
33 ${LD} -r -o $@ ${XIP_OBJS}
7 34
8 clean: FRC 35 clean: FRC
9 rm -f *.[oa] *.out *errs 36 rm -f *.[oa] *.out *errs
10 for i in ${SUBDIR}; do (cd $$i; ${MAKE} ${MFLAGS} clean); done 37 for i in ${SUBDIR}; do (cd $$i; ${MAKE} ${MFLAGS} clean); done
11 38