aboutsummaryrefslogtreecommitdiff
path: root/Makefile
diff options
context:
space:
mode:
author_ov4 <ov4@ov4.org>2026-08-31 06:11:46 +0000
committer_ov4 <ov4@ov4.org>2026-08-31 06:11:46 +0000
commitd29de7a87b89149136ebb287e1c301ef9a0cd70e (patch)
tree74fd672a9ab7b59389d3613154b10fa981f88618 /Makefile
parent1bb837ef6716ce74742e8660912050863dbcdf86 (diff)
init
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile21
1 files changed, 21 insertions, 0 deletions
diff --git a/Makefile b/Makefile
new file mode 100644
index 0000000..b5fc3e6
--- /dev/null
+++ b/Makefile
@@ -0,0 +1,21 @@
+CC = gcc
+CXX = g++
+CXXFLAGS = -Wall -Wextra -std=c++21
+
+TARGET = ccshell
+
+SRCS = \
+ src/main.cc
+
+OBJS = $(SRCS:.cc=.o)
+
+$(TARGET): $(OBJS)
+ $(CXX) $(OBJS) -o $(TARGET)
+
+%.o: %.cc
+ $(CXX) $(CXXFLAGS) -c $< -o $@
+
+clean:
+ rm -f $(OBJS) $(TARGET)
+
+.PHONY: clean