From cf618cc741269fa1917840345bb3fae133007b6d Mon Sep 17 00:00:00 2001 From: Nakidai Date: Wed, 18 Feb 2026 23:03:45 +0300 Subject: Improve the build system Now one global makefile is generated using includes, so dependencies are handled properly --- Makefile | 11 +++++++---- 1 file changed, 7 insertions(+), 4 deletions(-) (limited to 'Makefile') diff --git a/Makefile b/Makefile index 9f78a580..2ede9526 100644 --- a/Makefile +++ b/Makefile @@ -1,6 +1,9 @@ .PHONY: all clean -all: - make -C src -clean: - make -C src clean +all: src/ngircd/ngircd + +.c.o: + # ${CC} ${CFLAGS} ${CPPFLAGS} -c -o "`echo $< | sed 's/.$$//'`o" $< + ${CC} ${CFLAGS} ${CPPFLAGS} -c -o $@ $< + +include src/Makefile -- cgit 1.4.1