diff --git a/src/Makefile b/Makefile similarity index 91% rename from src/Makefile rename to Makefile index dbba29f..b9b5c65 100644 --- a/src/Makefile +++ b/Makefile @@ -11,10 +11,10 @@ CXX = g++ # compiler CXXFLAGS = -std=c++20 -g -Wall -MMD -lncurses -O0 # compiler flags MAKEFILE_NAME = ${firstword ${MAKEFILE_LIST}} # makefile name -SOURCES = $(wildcard *.cc) # source files (*.cc) +SOURCES = $(wildcard src/*.cc) # source files (*.cc) OBJECTS = ${SOURCES:.cc=.o} # object files forming executable DEPENDS = ${OBJECTS:.o=.d} # substitute ".o" with ".d" -EXEC = cc3k # executable name +EXEC = bin/cc3k # executable name ########## Targets ########## diff --git a/src/tools/Makefile b/tools/Makefile similarity index 100% rename from src/tools/Makefile rename to tools/Makefile diff --git a/src/tools/astylerc-example b/tools/astylerc-example similarity index 100% rename from src/tools/astylerc-example rename to tools/astylerc-example diff --git a/src/tools/compile b/tools/compile similarity index 100% rename from src/tools/compile rename to tools/compile diff --git a/src/tools/produceOutputs b/tools/produceOutputs similarity index 100% rename from src/tools/produceOutputs rename to tools/produceOutputs diff --git a/src/tools/runSuite b/tools/runSuite similarity index 100% rename from src/tools/runSuite rename to tools/runSuite