From f23dc457e173fbb5ca8686bec20fc16d96ed59e9 Mon Sep 17 00:00:00 2001 From: Plaza521 Date: Sat, 10 Jun 2023 21:11:58 +0300 Subject: [PATCH] Replace build.sh with Makefile --- Makefile | 8 ++++++++ build.sh | 1 - 2 files changed, 8 insertions(+), 1 deletion(-) create mode 100644 Makefile delete mode 100644 build.sh diff --git a/Makefile b/Makefile new file mode 100644 index 0000000..805c2b8 --- /dev/null +++ b/Makefile @@ -0,0 +1,8 @@ +CC := gcc +CFLAGS := + +mycfetch: + $(CC) main.c info.c -o mycfetch $(CFLAGS) + +install: mycfetch + cp mycfetch /usr/bin/mycfetch diff --git a/build.sh b/build.sh deleted file mode 100644 index c8112de..0000000 --- a/build.sh +++ /dev/null @@ -1 +0,0 @@ -gcc main.c info.c -o mycoolneofetch \ No newline at end of file