add global settings and version information to dependencies
authorDavid ‘Bombe’ Roden <bombe@pterodactylus.net>
Sat, 5 Jul 2008 12:47:05 +0000 (14:47 +0200)
committerDavid ‘Bombe’ Roden <bombe@pterodactylus.net>
Sat, 5 Jul 2008 12:47:05 +0000 (14:47 +0200)
Makefile

index ab6c918..6f5d48b 100644 (file)
--- a/Makefile
+++ b/Makefile
@@ -12,20 +12,22 @@ endif
 
 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