diff options
| author | Nakidai <nakidai@disroot.org> | 2026-02-18 23:03:45 +0300 |
|---|---|---|
| committer | Nakidai <nakidai@disroot.org> | 2026-02-18 23:03:45 +0300 |
| commit | cf618cc741269fa1917840345bb3fae133007b6d (patch) | |
| tree | fdbe89bd8a144ad9d835fe8591d38e10e205ffce /src/Makefile | |
| parent | 9a2b8cb4fde1adea8027387f277510cfa4406a20 (diff) | |
| download | ngircd-cf618cc741269fa1917840345bb3fae133007b6d.tar.gz ngircd-cf618cc741269fa1917840345bb3fae133007b6d.zip | |
Improve the build system
Now one global makefile is generated using includes, so dependencies are handled properly
Diffstat (limited to 'src/Makefile')
| -rw-r--r-- | src/Makefile | 23 |
1 files changed, 5 insertions, 18 deletions
diff --git a/src/Makefile b/src/Makefile index 58a5093c..28633a05 100644 --- a/src/Makefile +++ b/src/Makefile @@ -1,21 +1,8 @@ -LIBS += portab/libngportab.a -LIBS += ipaddr/libngipaddr.a -LIBS += tool/libngtool.a - -all: ngircd/ngircd - -ngircd/ngircd: ${LIBS} - make -C ngircd - -portab/libngportab.a: - make -C portab - -ipaddr/libngipaddr.a: - make -C ipaddr - -tool/libngtool.a: - make -C tool +include src/ipaddr/Makefile +include src/ngircd/Makefile +include src/portab/Makefile +include src/tool/Makefile clean: - rm -f ngircd/ngircd + rm -f src/ngircd/ngircd find . \( -name '*\.o' -o -name '*\.a' \) -exec rm {} \; |