summaryrefslogblamecommitdiffstats
path: root/docs/proto/Makefile
blob: 63086b386a9693a4369e98d889f3d6311e064013 (plain) (tree)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18

















                                                                    

#.SUFFIXES: .c .txt

# XXX €瘝瘥頛憟賜雿瘜?
# 湔亦 .c.txt 憟賢餌桀桅瘝 xxx.c @_@

NAME!=  cd ../../mbbsd/ && ls *.c | sed -e "s/\.c//"
SRC!=   cd ../../mbbsd/ && ls *.c | sed -e "s/\.c/.txt/"

all: $(SRC)

.for fn in $(NAME)
$(fn).txt: ../../mbbsd/$(fn).c
    ./cdoc ../../mbbsd/$(fn).c > $(fn).txt
.endfor

clean:
    rm -f *.txt