From 6a160cf8e0c8ca66b9f8b228198c0f2950377e81 Mon Sep 17 00:00:00 2001 From: Peisong Xiao Date: Fri, 5 Jul 2024 10:16:44 -0400 Subject: [PATCH] moved: tools to base directory moved: Makefile to base directory --- src/Makefile => Makefile | 4 ++-- {src/tools => tools}/Makefile | 0 {src/tools => tools}/astylerc-example | 0 {src/tools => tools}/compile | 0 {src/tools => tools}/produceOutputs | Bin {src/tools => tools}/runSuite | Bin 6 files changed, 2 insertions(+), 2 deletions(-) rename src/Makefile => Makefile (91%) rename {src/tools => tools}/Makefile (100%) rename {src/tools => tools}/astylerc-example (100%) rename {src/tools => tools}/compile (100%) rename {src/tools => tools}/produceOutputs (100%) rename {src/tools => tools}/runSuite (100%) 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