increase version number to 0.1
[ecparse.git] / Makefile
index 03442d8..60d0734 100644 (file)
--- a/Makefile
+++ b/Makefile
@@ -7,19 +7,35 @@ else
        CC_OPTS=-Wall -O2
 endif
 
-.c.o .cpp.o:
+.cpp.o:
        $(CC) $(CC_OPTS) -c -o $@ $<
 
 all: ecparse
 
-ecparse: ReaderInput.o FileReaderInput.o CollectionReader.o Main.o
+ecparse: Tag.o HashTag.o BlobTag.o StringTag.o GlobalSettings.o GrowingBuffer.o ED2KLink.o ReaderInput.o FileReaderInput.o CollectionReader.o Main.o
        $(CC) -o $@ $^ 
 
+GlobalSettings.o: GlobalSettings.cpp GlobalSettings.h
+
+GrowingBuffer.o: GrowingBuffer.cpp GrowingBuffer.h GlobalSettings.h
+
 ReaderInput.o: ReaderInput.cpp ReaderInput.h
 
 FileReaderInput.o: FileReaderInput.cpp FileReaderInput.h ReaderInput.h
 
-CollectionReader.o: CollectionReader.cpp ReaderInput.h
+Tag.o: Tag.cpp Tag.h TagType.h
+
+StringTag.o: StringTag.cpp StringTag.h Tag.h TagType.h
+
+BlobTag.o: BlobTag.cpp BlobTag.h Tag.h TagType.h
+
+HashTag.o: HashTag.cpp HashTag.h Tag.h
+
+CollectionReader.o: CollectionReader.cpp ReaderInput.h ED2KLink.h GrowingBuffer.h GlobalSettings.h Tag.h TagType.h StringTag.h BlobTag.h HashTag.h
+
+ED2KLink.o: ED2KLink.cpp ED2KLink.h GlobalSettings.h
+
+Main.o: Main.cpp FileReaderInput.h ReaderInput.h CollectionReader.h ED2KLink.h GlobalSettings.h Version.h
 
 clean:
        rm -f ecparse