Flatten source tree a bit

This commit is contained in:
Tim Warren 2015-07-02 15:05:05 -04:00
parent 68d25d195d
commit 2d4bc24dd6
9 changed files with 10 additions and 8 deletions

View File

@ -1,4 +1,4 @@
SOURCES = $(wildcard include/**/*.cpp include/*.cpp src/base/**/*.cpp)
SOURCES = $(wildcard include/**/*.cpp include/*.cpp src/base/*.cpp)
OBJECTS = $(patsubst %.cpp,%.o, $(SOURCES))
BASE_LIB = build/base.a
@ -11,7 +11,7 @@ CONFIG_SRC = $(wildcard src/settings/*.cpp)
CONFIG_OBJ = $(patsubst %.cpp,%.o, $(CONFIG_SRC))
CONFIG_LIB = build/config.a
WIDGET_SRC = $(wildcard src/settings/*.cpp src/widgets/*.cpp)
WIDGET_SRC = $(wildcard src/settings/*.cpp src/widgets/*.cpp src/base/widget/*.cpp)
WIDGET_OBJ = $(patsubst %.cpp,%.o, $(WIDGET_SRC))
WIDGET_LIB = build/widget.a
@ -24,6 +24,7 @@ CXXFLAGS += -Os -pipe -DNDEBUG $(INC_FLAGS)
TEST_SRC = $(wildcard tests/*Test.cpp)
TESTS = $(patsubst %.cpp,%.o,$(TEST_SRC))
TEST_RUNNER = tests/runner
LDLIBS =
@ -175,3 +176,4 @@ clean:
rm -f tests/runner
find . -name "*.gc*" -exec rm {} \;
rm -rf `find . -name "*.dSYM" -print`
mkdir -p build

View File

@ -8,7 +8,7 @@
#ifndef SFTP_H
#define SFTP_H
#include "../../common.h"
#include "../common.h"
// Socket includes
#include <cstring>

View File

@ -1,7 +1,7 @@
#ifndef TYRO_CONFIG_H
#define TYRO_CONFIG_H
#include "../../common.h"
#include "../common.h"
class TyroConfig {
public:

View File

@ -2,7 +2,7 @@
#define TYRO_LANG_CONFIG_H
#include "../wx_common.h"
#include "../base/settings/Config.h"
#include "Config.h"
class LangConfig : TyroConfig {
public:

View File

@ -6,7 +6,7 @@
#define TYRO_THEME_CONFIG_H
#include "../wx_common.h"
#include "../base/settings/Config.h"
#include "Config.h"
class ThemeConfig : TyroConfig {
public:

View File

@ -1,5 +1,5 @@
#include "catch.hpp"
#include "../src/base/settings/Config.h"
#include "../src/settings/Config.h"
TEST_CASE ("Base config class load json")
{

View File

@ -1,5 +1,5 @@
#include "catch.hpp"
#include "../src/base/network/SFTP.h"
#include "../src/base/SFTP.h"
TEST_CASE("SFTP Library")
{