aboutsummaryrefslogtreecommitdiffstats
path: root/Makefile
diff options
context:
space:
mode:
authorstefan11111 <stefan11111@shitposting.expert>2024-05-25 01:06:22 +0000
committerGitHub <noreply@github.com>2024-05-24 21:06:22 -0400
commit5153fc90bf83f484571040a3d5e1cb41e6506ecb (patch)
treebc3388725080232d029de6d1b3445e0a4e0ee7b0 /Makefile
parentMerge changes I made in the last year (#136) (diff)
downloadkirc-5153fc90bf83f484571040a3d5e1cb41e6506ecb.tar.gz
kirc-5153fc90bf83f484571040a3d5e1cb41e6506ecb.tar.bz2
kirc-5153fc90bf83f484571040a3d5e1cb41e6506ecb.tar.xz
kirc-5153fc90bf83f484571040a3d5e1cb41e6506ecb.tar.zst
kirc-5153fc90bf83f484571040a3d5e1cb41e6506ecb.zip
some code improvements and a new feature (#137)
Co-authored-by: Emeka Nkurumeh <emekankurumeh@outlook.com>
Diffstat (limited to '')
-rw-r--r--Makefile5
1 files changed, 3 insertions, 2 deletions
diff --git a/Makefile b/Makefile
index 2c1d5f9..f40a58b 100644
--- a/Makefile
+++ b/Makefile
@@ -4,8 +4,9 @@ PREFIX ?= /usr/local
BINDIR = $(PREFIX)/bin
MANDIR = $(PREFIX)/share/man
-all: kirc.c kirc.h
- $(CC) $(CFLAGS) $(LDFLAGS) kirc.c -o kirc
+kirc: kirc.c kirc.h
+ $(CC) $(CFLAGS) $(LDFLAGS) ${ALL_WARNING} kirc.c -o kirc
+all: kirc
install: kirc
mkdir -p $(DESTDIR)$(BINDIR)