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/ipaddr/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/ipaddr/Makefile')
| -rw-r--r-- | src/ipaddr/Makefile | 13 |
1 files changed, 4 insertions, 9 deletions
diff --git a/src/ipaddr/Makefile b/src/ipaddr/Makefile index 113786a2..67400636 100644 --- a/src/ipaddr/Makefile +++ b/src/ipaddr/Makefile @@ -1,13 +1,8 @@ CFLAGS += -DDOCDIR='"/usr/local/share/doc/ngircd"' CFLAGS += -DHAVE_CONFIG_H -CFLAGS += -I.. -CFLAGS += -I../portab -CFLAGS += -I../ipaddr -CFLAGS += -I../tool +CFLAGS += -Isrc -Isrc/portab -Isrc/ipaddr -Isrc/tool -OBJS += ng_ipaddr.o +OBJS.ipaddr += src/ipaddr/ng_ipaddr.o -all: libngipaddr.a - -libngipaddr.a: ${OBJS} - ar rcs libngipaddr.a ${OBJS} +src/ipaddr/libngipaddr.a: ${OBJS.ipaddr} + ar rcs src/ipaddr/libngipaddr.a ${OBJS.ipaddr} |