comparison target-utils/Makefile @ 25:796da8d60b23

target-utils: top-level Makefile created like in the Book-E-MON and SDSL CPE source trees by the same author
author Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
date Sat, 04 May 2013 05:02:04 +0000
parents
children 5b3d7398d2d9
comparison
equal deleted inserted replaced
24:9ee91bc6057c 25:796da8d60b23
1 PROGS= helloapp loadagent
2 LIBS= libcommom libload libprintf
3 SUBDIR= ${PROGS} ${LIBS}
4
5 default: loadagent
6 all: ${PROGS}
7
8 helloapp: libcommon libprintf
9 loadagent: libcommon libload libprintf
10
11 ${SUBDIR}: FRC
12 cd $@; make ${MFLAGS}
13
14 clean: FRC
15 rm -f a.out core errs
16 for i in ${SUBDIR}; do (cd $$i; make ${MFLAGS} clean); done
17
18 FRC: