From 66448b41ac4327b2084b3387bcc90912971ff03c Mon Sep 17 00:00:00 2001 From: Kimmo Varis Date: Thu, 11 Mar 2010 22:55:31 +0200 Subject: [PATCH] Restore and fix tools Makefile. Fix include lines. --- tools/Makefile | 10 ++++++++++ tools/dmake.cpp | 4 ++-- 2 files changed, 12 insertions(+), 2 deletions(-) diff --git a/tools/Makefile b/tools/Makefile index e69de29bb..f51efddb0 100644 --- a/tools/Makefile +++ b/tools/Makefile @@ -0,0 +1,10 @@ + +all: errmsg dmake + +errmsg: errmsg.cpp + g++ -Wall -pedantic -o errmsg errmsg.cpp + +dmake: dmake.cpp + g++ -Wall -pedantic -o dmake dmake.cpp ../lib/filelister.cpp ../lib/filelister_unix.cpp + + diff --git a/tools/dmake.cpp b/tools/dmake.cpp index cae663b9d..6ccb10b57 100644 --- a/tools/dmake.cpp +++ b/tools/dmake.cpp @@ -25,9 +25,9 @@ #include #if defined(_WIN32) -#include "fileLister_win32.h" +#include "../lib/fileLister_win32.h" #else // POSIX-style system -#include "filelister_unix.h" +#include "../lib/filelister_unix.h" #endif std::string objfile(std::string cppfile)