]> PatchyGit - patchyircd.git/commitdiff
Makefile: explicitly name all source files
authorEgor <egor@patchysicp.xyz>
Thu, 19 Oct 2023 11:17:06 +0000 (14:17 +0300)
committerEgor <egor@patchysicp.xyz>
Thu, 19 Oct 2023 11:17:06 +0000 (14:17 +0300)
Makefile

index 52c7a92..7e42d53 100644 (file)
--- 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