2 CC
= gcc
-g
-nostdinc
-I..
/include -Wall
-Wno-unused
4 LDFLAGS
= --oformat binary
-N
5 CPP
=gcc
-g
-E
-nostdinc
-I..
/include
12 @printf
"%8s %s\n" "LD" ${DIRNAME}/$@
13 ${LD} -r
-o
$@
${OBJS}
15 @printf
"%8s %s\n" "CC" ${DIRNAME}/$@
21 @
rm -f
*.o
*.map
*~ tmp_make
24 sed
'/\#\#\# Dependencies/q' < Makefile
> tmp_make
25 (for i in
*.c
;do echo
-n
`echo $$i | sed 's,\.c,\.s,'`" "; \
26 $(CPP
) -M
$$i;done
) >> tmp_make