From 2ca3c3ab302fa69a548e98fa56707af2488c135d Mon Sep 17 00:00:00 2001 From: Egor Date: Thu, 19 Oct 2023 14:17:06 +0300 Subject: [PATCH] Makefile: explicitly name all source files --- Makefile | 23 ++++++++++++++++++++--- 1 file changed, 20 insertions(+), 3 deletions(-) diff --git a/Makefile b/Makefile index 52c7a92..7e42d53 100644 --- a/Makefile +++ b/Makefile @@ -1,6 +1,23 @@ -TARGET:=ircd -SOURCES:=$(wildcard *.c) -HEADERS:=$(wildcard *.h) +TARGET := ircd +SOURCES := \ + main.c \ + irc.c \ + ircfmt.c \ + net.c \ + netsock.c \ + passwd.c \ + trie.c \ + util.c +HEADERS := \ + common.h \ + config.h \ + irc.h \ + ircfmt.h \ + net.h \ + netsock.h \ + passwd.h \ + trie.h \ + util.h -include config.mk .PHONY: all clean -- 2.56.0