summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorsumuel <samuel@yakubos.org>2026-06-07 02:07:59 +0100
committersumuel <samuel@yakubos.org>2026-06-07 02:07:59 +0100
commit3dbe54853c4733bbe5ff58a6403d1759e921bdc3 (patch)
treeaf5204b3feaae0f659f07c2816677879beb3c157
parentaad2b809ad64ee653793e16ca3e7ba0a84d3fd2a (diff)
Change main.c to stats.c
-rwxr-xr-xMakefile3
-rwxr-xr-xbuild.sh2
-rw-r--r--stats.c (renamed from main.c)0
3 files changed, 3 insertions, 2 deletions
diff --git a/Makefile b/Makefile
index e850d74..ace1cb4 100755
--- a/Makefile
+++ b/Makefile
@@ -5,8 +5,9 @@ CFLAGS = -std=c99 -pedantic -Wall -Wno-deprecated-declarations -Os
CC = gcc
+SRC = stats.c
all:
- ${CC} ${CFLAGS} main.c -o stats
+ ${CC} ${CFLAGS} ${SRC} -o stats
.PHONY: all clean dist install uninstall
diff --git a/build.sh b/build.sh
index cfe5ef0..e980568 100755
--- a/build.sh
+++ b/build.sh
@@ -2,6 +2,6 @@
clear
-vim main.c
+vim stats.c
make
diff --git a/main.c b/stats.c
index fa69715..fa69715 100644
--- a/main.c
+++ b/stats.c