summaryrefslogblamecommitdiffstats
path: root/Makefile
blob: eb78b74de57d73d19d73d4c6e559b117b93600e4 (plain) (tree)
1
2
3
4
5
6
7
8
9
10
11

                          
             

                  





                                                                            

                                
                                               

                       
SUBDIR= mbbsd util innbbsd
BBSHOME?=$(HOME)
OSTYPE!=uname

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) BBSHOME=$(BBSHOME) $@;\
        cd ..;\
    done