summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorczjstmax <jstmaxlol@disroot.org>2026-05-06 17:00:31 +0200
committerczjstmax <jstmaxlol@disroot.org>2026-05-06 17:00:31 +0200
commita95060097772b17fb6996b6439a7e5da8b662bc3 (patch)
treef6436304262a831a764b7ee040000b8436fc7048
parentb20ade4b0c34af44652f38d33dafd27dfd1fd32e (diff)
removed old build script, added proper Makefile, updated REDAME
Signed-off-by: czjstmax <jstmaxlol@disroot.org>
-rw-r--r--Makefile11
-rw-r--r--README.md2
-rwxr-xr-xbuild.sh23
3 files changed, 12 insertions, 24 deletions
diff --git a/Makefile b/Makefile
new file mode 100644
index 0000000..aa8ec56
--- /dev/null
+++ b/Makefile
@@ -0,0 +1,11 @@
+CC = gcc
+OPTS = -Wall -Wextra -pedantic
+FIN = g.c
+FOUT = g
+
+all:
+ $(CC) $(OPTS) $(FIN) -o $(FOUT)
+
+clean:
+ rm -v $(FOUT)
+
diff --git a/README.md b/README.md
index 0444e78..78cb314 100644
--- a/README.md
+++ b/README.md
@@ -5,7 +5,7 @@
if you are as lazy as me and do not want write **looong** and **boring** commands like \
`git commit -a -m "yo mama"`, or `git remote add origin git@github.com:torvalds/linux.git`
-## project_status = unfinished/development_slow_as_hellll
+## (!) development halted
### why "permissive"?
`g`'s whole logic is to be "_permissive_" with its syntax making it \
diff --git a/build.sh b/build.sh
deleted file mode 100755
index 7e30d61..0000000
--- a/build.sh
+++ /dev/null
@@ -1,23 +0,0 @@
-#!/usr/bin/env bash
-
-# compile g
-if gcc g.c -o g -O1 -Wall -Wextra -pedantic; then
- # move to PATH
- if sudo cp ./g /usr/bin/g; then
- # remove binary from local repo
- if rm ./g; then
- # status message
- printf ":: done ♥\n"
- else
- # or kill myself
- printf ":: couldnt remove binary from local repo, fuck you ♥\n"
- fi
- else
- # or kill yourself
- printf ":: couldnt copy to PATH, fuck you ♥\n"
- fi
-else
-# or kill ourselves
- printf ":: couldnt compile, fuck you ♥\n"
-fi
-