Index: trunk/tools/trickle/Makefile |
— | — | @@ -1,9 +1,9 @@ |
2 | 2 | # @(#) $Header$ |
3 | 3 | |
4 | 4 | trickle: trickle.o tar.o proto.o util.o rdcp.o ldflags |
5 | | - cc -g trickle.o tar.o proto.o util.o rdcp.o -o $@ `cat ldflags` |
| 5 | + cc -O -g trickle.o tar.o proto.o util.o rdcp.o -o $@ `cat ldflags` |
6 | 6 | %.o: %.c Makefile $< t_stdint.h |
7 | | - cc -g -D_FILE_OFFSET_BITS=64 -c $< |
| 7 | + cc -O -g -D_FILE_OFFSET_BITS=64 -c $< |
8 | 8 | clean: |
9 | 9 | rm -f trickle trickle.o tar.o util.o rdcp.o proto.o ldflags t_stdint.h |
10 | 10 | t_stdint.h: |
— | — | @@ -18,5 +18,12 @@ |
19 | 19 | echo "main(){}" > test.c |
20 | 20 | -cc test.c -lsocket -lnsl -o /dev/null && echo -lsocket -lnsl >>ldflags |
21 | 21 | rm -f test.c |
| 22 | +dist: |
| 23 | + mkdir trickle-cvs1 |
| 24 | + cp trickle.[ch] tar.c proto.c util.c rdcp.[ch] Makefile trickle-cvs1/ |
| 25 | + tar cvf trickle-cvs1.tar trickle-cvs1 |
| 26 | + rm -rf trickle-cvs1 |
| 27 | + compress -f trickle-cvs1.tar |
| 28 | + ls -l trickle-cvs1.tar.Z |
22 | 29 | |
23 | 30 | .KEEP_STATE: |