summaryrefslogtreecommitdiffhomepage
path: root/makefile
diff options
context:
space:
mode:
authorAmlal El Mahrouss <113760121+Amlal-ElMahrouss@users.noreply.github.com>2024-03-27 08:31:41 +0100
committerAmlal El Mahrouss <113760121+Amlal-ElMahrouss@users.noreply.github.com>2024-03-27 08:31:41 +0100
commit3939adadfecc486173df35e1f54c606a9bb4bb94 (patch)
tree3b80ea14534e74e4bdb2c3db26a6270f66e49ce4 /makefile
parent69b78ac22d04b56a9882e845230a1df27d9af9a9 (diff)
Toolchain: Fix bpp and link, deprecate ccplus (C++ compiler)
repurpose all rule to compile everything. Signed-off-by: Amlal El Mahrouss <113760121+Amlal-ElMahrouss@users.noreply.github.com>
Diffstat (limited to 'makefile')
-rw-r--r--makefile9
1 files changed, 2 insertions, 7 deletions
diff --git a/makefile b/makefile
index 156bd11..3992b25 100644
--- a/makefile
+++ b/makefile
@@ -30,10 +30,6 @@ SRC_COMMON=Sources/String.cc Sources/AsmKit.cc
CC_SRC=Sources/cc.cc $(SRC_COMMON)
CC_OUTPUT=Output/cc.exe
-# C++ Compiler
-CXX_SRC=Sources/ccplus.cc $(SRC_COMMON)
-CXX_OUTPUT=Output/ccplus.exe
-
# 64x0 Assembler
ASM_SRC=Sources/64asm.cc $(SRC_COMMON)
ASM_OUTPUT=Output/64asm.exe
@@ -43,8 +39,8 @@ IASM_SRC=Sources/i64asm.cc $(SRC_COMMON)
IASM_OUTPUT=Output/i64asm.exe
.PHONY: all
-all:
- @echo "Use a specific target."
+all: pp cl link
+ @echo "DONE."
.PHONY: pp
pp:
@@ -53,7 +49,6 @@ pp:
.PHONY: cl
cl:
$(LINK_CC) $(COMMON_INC) $(CC_SRC) -o $(CC_OUTPUT)
- $(LINK_CC) $(COMMON_INC) $(CXX_SRC) -o $(CXX_OUTPUT)
$(LINK_CC) $(COMMON_INC) $(IASM_SRC) -o $(IASM_OUTPUT)
$(LINK_CC) $(COMMON_INC) $(ASM_SRC) -o $(ASM_OUTPUT)