diff options
author | simka <fastinetserver@gmail.com> | 2010-06-09 02:50:33 +0300 |
---|---|---|
committer | simka <fastinetserver@gmail.com> | 2010-06-09 02:50:33 +0300 |
commit | b205b7eb087f0f1a4c812bcc0c3646a923091b8b (patch) | |
tree | 685f70b02f28f76369e21b5df7a6b9a285181256 /segget/Makefile | |
parent | Add task.c with implementation of Ttask, Tpkg, Tdistfile classes. (diff) | |
download | idfetch-b205b7eb087f0f1a4c812bcc0c3646a923091b8b.tar.gz idfetch-b205b7eb087f0f1a4c812bcc0c3646a923091b8b.tar.bz2 idfetch-b205b7eb087f0f1a4c812bcc0c3646a923091b8b.zip |
Merging 2 parts of segget (Tpkg, Tdistfile classes + Tsegment class).
As a result files were rearranged: each class has its own file.
Segget loads list of files from pkg.list, splits these files into segments
and downloads these segments.
Diffstat (limited to 'segget/Makefile')
-rw-r--r-- | segget/Makefile | 12 |
1 files changed, 7 insertions, 5 deletions
diff --git a/segget/Makefile b/segget/Makefile index aaabd22..23e3e63 100644 --- a/segget/Makefile +++ b/segget/Makefile @@ -1,5 +1,7 @@ -all: segget task -segget: segget.c - g++ -o segget -lcurl segget.c -task: task.c - g++ -o task -ljson task.c
\ No newline at end of file +segget: main.o + g++ -o segget main.o -ljson -lcurl +main.o: main.cpp pkg.cpp distfile.cpp segment.cpp + g++ -c main.cpp pkg.cpp distfile.cpp segment.cpp +clean: + @-rm segget *.o + @-rm distfile.seg*
\ No newline at end of file |