summaryrefslogtreecommitdiffstats
path: root/Makefile
blob: d4c8df369d0293de1f141129aecb0c6dd786730e (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
SUBDIR= common mbbsd util innbbsd

all install clean:
.if !exists(/usr/local/lib/libhz.so) && !exists(/usr/lib/libhz.so)
    @echo "sorry, libhz not found."
    @echo "above FreeBSD, please install /usr/ports/chinese/autoconvert"
    @echo "above Debian/Linux, please install package libhz0"
    @exit 1
.endif
    @for i in $(SUBDIR); do\
        cd $$i;\
        $(MAKE) $@;\
        cd -;\
    done