hirc

IRC client
Log | Files | Refs

commit 6b6e8e550b0aa6a9607e0bbfca38d719791c9e67
parent 454b19769088070bf988b538fc899731aaf7e6a8
Author: hhvn <dev@hhvn.uk>
Date:   Sun, 12 Dec 2021 12:30:08 +0000

Makefile: define by source, not object

Diffstat:
MMakefile | 7++++---
1 file changed, 4 insertions(+), 3 deletions(-)

diff --git a/Makefile b/Makefile @@ -4,9 +4,10 @@ PREFIX = /usr/local BINDIR = $(PREFIX)/bin MANDIR = $(PREFIX)/share/man BIN = hirc -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 +SRC = src/main.c src/handle.c src/hist.c src/nick.c \ + src/chan.c src/serv.c src/ui.c src/commands.c \ + src/config.c src/strlcpy.c +OBJ = $(SRC:.c=.o) MAN = hirc.1 COMMIT = $(shell git log HEAD...HEAD~1 --pretty=format:%h) CFLAGS = -g -O0 $(CTLS)