hirc

IRC client
Log | Files | Refs

commit 454b19769088070bf988b538fc899731aaf7e6a8
parent 22b7b7a7935934d8cf8a0e56657b8b9877d3630d
Author: hhvn <dev@hhvn.uk>
Date:   Sun, 12 Dec 2021 12:26:18 +0000

Move source files into src/

Diffstat:
MMakefile | 8++++----
Rchan.c -> src/chan.c | 0
Rcommands.c -> src/commands.c | 0
Rconfig.c -> src/config.c | 0
Rhandle.c -> src/handle.c | 0
Rhirc.h -> src/hirc.h | 0
Rhist.c -> src/hist.c | 0
Rmain.c -> src/main.c | 0
Rnick.c -> src/nick.c | 0
Rserv.c -> src/serv.c | 0
Rstrlcpy.c -> src/strlcpy.c | 0
Rstruct.h -> src/struct.h | 0
Rui.c -> src/ui.c | 0
13 files changed, 4 insertions(+), 4 deletions(-)

diff --git a/Makefile b/Makefile @@ -4,9 +4,9 @@ PREFIX = /usr/local BINDIR = $(PREFIX)/bin MANDIR = $(PREFIX)/share/man BIN = hirc -OBJ = main.o handle.o hist.o nick.o \ - chan.o serv.o ui.o commands.o \ - config.o strlcpy.o +OBJ = src/main.o src/handle.o src/hist.o src/nick.o \ + src/chan.o src/serv.o src/ui.o src/commands.o \ + src/config.o src/strlcpy.o MAN = hirc.1 COMMIT = $(shell git log HEAD...HEAD~1 --pretty=format:%h) CFLAGS = -g -O0 $(CTLS) @@ -46,6 +46,6 @@ clean: -rm -f $(OBJ) $(MAN) $(BIN) .c.o: - $(CC) $(CFLAGS) -c $< + $(CC) $(CFLAGS) -c $< -o $@ .PHONY: clean install uninstall diff --git a/chan.c b/src/chan.c diff --git a/commands.c b/src/commands.c diff --git a/config.c b/src/config.c diff --git a/handle.c b/src/handle.c diff --git a/hirc.h b/src/hirc.h diff --git a/hist.c b/src/hist.c diff --git a/main.c b/src/main.c diff --git a/nick.c b/src/nick.c diff --git a/serv.c b/src/serv.c diff --git a/strlcpy.c b/src/strlcpy.c diff --git a/struct.h b/src/struct.h diff --git a/ui.c b/src/ui.c