diff options
| -rw-r--r-- | Makefile | 11 | ||||
| -rw-r--r-- | README.md | 2 | ||||
| -rwxr-xr-x | build.sh | 23 |
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) + @@ -7,7 +7,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 - |