diff --git a/Gaming/src/Game.cpp b/Gaming/src/Game.cpp index 0fcc4b7..e4f42a0 100644 --- a/Gaming/src/Game.cpp +++ b/Gaming/src/Game.cpp @@ -1,4 +1,4 @@ -#include "pch.h" +#include "stdafx.h" #include "Game.h" namespace Gaming { diff --git a/Gaming/src/GameController.cpp b/Gaming/src/GameController.cpp index 27d305f..1ec5fc9 100644 --- a/Gaming/src/GameController.cpp +++ b/Gaming/src/GameController.cpp @@ -1,4 +1,4 @@ -#include "pch.h" +#include "stdafx.h" #include "GameController.h" #include "Game.h" diff --git a/Gaming/src/Gaming.vcxproj b/Gaming/src/Gaming.vcxproj index bbc5037..9aa5277 100644 --- a/Gaming/src/Gaming.vcxproj +++ b/Gaming/src/Gaming.vcxproj @@ -89,7 +89,7 @@ Level3 true NDEBUG;_LIB;%(PreprocessorDefinitions) - pch.h + stdafx.h stdcpp17 Speed true @@ -112,7 +112,7 @@ Disabled true WIN32;_DEBUG;_LIB;%(PreprocessorDefinitions) - pch.h + stdafx.h stdcpp17 @@ -127,7 +127,7 @@ Disabled true _DEBUG;_LIB;%(PreprocessorDefinitions) - pch.h + stdafx.h stdcpp17 @@ -141,7 +141,7 @@ Level3 true WIN32;NDEBUG;_LIB;%(PreprocessorDefinitions) - pch.h + stdafx.h stdcpp17 Speed true @@ -160,7 +160,7 @@ - + Create Create Create @@ -172,7 +172,7 @@ - + diff --git a/Gaming/src/Gaming.vcxproj.filters b/Gaming/src/Gaming.vcxproj.filters index f566862..60dd8c9 100644 --- a/Gaming/src/Gaming.vcxproj.filters +++ b/Gaming/src/Gaming.vcxproj.filters @@ -17,10 +17,10 @@ Source Files - + Source Files - + Source Files @@ -31,10 +31,10 @@ Header Files - + Header Files - + Header Files diff --git a/Gaming/src/SDLWrapper.cpp b/Gaming/src/SDLWrapper.cpp index 257de9d..08d5a19 100644 --- a/Gaming/src/SDLWrapper.cpp +++ b/Gaming/src/SDLWrapper.cpp @@ -1,4 +1,4 @@ -#include "pch.h" +#include "stdafx.h" #include "SDLWrapper.h" using namespace Gaming; diff --git a/Gaming/src/pch.cpp b/Gaming/src/stdafx.cpp similarity index 54% rename from Gaming/src/pch.cpp rename to Gaming/src/stdafx.cpp index 64b7eef..447c795 100644 --- a/Gaming/src/pch.cpp +++ b/Gaming/src/stdafx.cpp @@ -1,5 +1,5 @@ -// pch.cpp: source file corresponding to the pre-compiled header +// stdafx.cpp: source file corresponding to the pre-compiled header -#include "pch.h" +#include "stdafx.h" // When you are using pre-compiled headers, this source file is necessary for compilation to succeed. diff --git a/Gaming/src/pch.h b/Gaming/src/stdafx.h similarity index 84% rename from Gaming/src/pch.h rename to Gaming/src/stdafx.h index 49df2b3..4109c92 100644 --- a/Gaming/src/pch.h +++ b/Gaming/src/stdafx.h @@ -1,11 +1,11 @@ -// pch.h: This is a precompiled header file. +// stdafx.h: This is a precompiled header file. // Files listed below are compiled only once, improving build performance for future builds. // This also affects IntelliSense performance, including code completion and many code browsing features. // However, files listed here are ALL re-compiled if any one of them is updated between builds. // Do not add files here that you will be updating frequently as this negates the performance advantage. -#ifndef PCH_H -#define PCH_H +#ifndef STDAFX_H +#define STDAFX_H #include #include @@ -17,4 +17,4 @@ #include -#endif //PCH_H +#endif //STDAFX_H diff --git a/inc/IntelHexFile.h b/inc/IntelHexFile.h index 510547f..b96c24f 100644 --- a/inc/IntelHexFile.h +++ b/inc/IntelHexFile.h @@ -3,6 +3,8 @@ #include #include #include +#include +#include #include #include #include diff --git a/src/Makefile b/src/Makefile index ac6e142..c3fd7e0 100644 --- a/src/Makefile +++ b/src/Makefile @@ -2,7 +2,7 @@ LIB = libeightbit.a CXXFLAGS = -I ../inc -CXXFILES = BigEndianProcessor.cpp Bus.cpp Chip.cpp Device.cpp EventArgs.cpp InputOutput.cpp IntelProcessor.cpp LittleEndianProcessor.cpp Memory.cpp Processor.cpp Ram.cpp Rom.cpp UnusedMemory.cpp +CXXFILES = BigEndianProcessor.cpp Bus.cpp Chip.cpp Device.cpp EventArgs.cpp InputOutput.cpp IntelHexFile.cpp IntelProcessor.cpp LittleEndianProcessor.cpp Memory.cpp Processor.cpp Ram.cpp Rom.cpp UnusedMemory.cpp include ../compile.mk include ../lib_build.mk