all: ecparse
-ecparse: GrowingBuffer.o ED2KLink.o ReaderInput.o FileReaderInput.o CollectionReader.o Main.o
+ecparse: 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
ReaderInput.o: ReaderInput.cpp ReaderInput.h
FileReaderInput.o: FileReaderInput.cpp FileReaderInput.h ReaderInput.h
-CollectionReader.o: CollectionReader.cpp ReaderInput.h ED2KLink.h GrowingBuffer.h
+CollectionReader.o: CollectionReader.cpp ReaderInput.h ED2KLink.h GrowingBuffer.h GlobalSettings.h
ED2KLink.o: ED2KLink.cpp ED2KLink.h
-Main.o: Main.cpp FileReaderInput.h ReaderInput.h CollectionReader.h ED2KLink.h
+Main.o: Main.cpp FileReaderInput.h ReaderInput.h CollectionReader.h ED2KLink.h GlobalSettings.h Version.h
clean:
rm -f ecparse