summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-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