Annotation of nono/lib/Makefile, revision 1.1.1.11

1.1       root        1: #
                      2: # nono
                      3: # Copyright (C) 2020 nono project
                      4: # Licensed under nono-license.txt
                      5: #
                      6: 
                      7: #
                      8: # ライブラリというか CLI/wxw 共通で他に属さないようなものとか。
                      9: #
                     10: 
                     11: .include "../Makefile.inc"
                     12: 
                     13: TARGETS=       libnnlib.a
                     14: 
1.1.1.10  root       15: CXXSRCS=       \
1.1.1.6   root       16:        bitmap.cpp      \
1.1.1.5   root       17:        bitops.cpp      \
1.1.1.10  root       18:        classname.cpp   \
1.1       root       19:        config.cpp      \
1.1.1.9   root       20:        exttostr.cpp    \
1.1       root       21:        object.cpp      \
1.1.1.7   root       22:        object_id.cpp   \
1.1.1.6   root       23:        macaddr.cpp     \
1.1       root       24:        mainapp.cpp     \
                     25:        mappedfile.cpp  \
1.1.1.4   root       26:        monitor.cpp             \
                     27:        monitor_id.cpp  \
1.1       root       28:        mystring.cpp    \
                     29:        mythread.cpp    \
1.1.1.6   root       30:        panic.cpp       \
1.1       root       31:        textscreen.cpp  \
                     32: 
1.1.1.8   root       33: .if "${HOST_HAS_AVX2}" == "yes"
1.1.1.10  root       34: CXXSRCS+=      bitmap_avx2.cpp
1.1.1.8   root       35: CXXFLAGS.bitmap_avx2.cpp+=     -mavx2
                     36: .endif
                     37: 
1.1       root       38: CXXSRCS_test=  \
1.1.1.4   root       39:        test_mystring.cpp       \
1.1       root       40: 
1.1.1.10  root       41: CXXSRCS_all=   ${CXXSRCS} ${CXXSRCS_test}
1.1       root       42: 
1.1.1.10  root       43: OBJS=  ${CXXSRCS:.cpp=.o}
1.1       root       44: 
1.1.1.10  root       45: libnnlib.a:    ${OBJS}
1.1       root       46:        rm -f $@
                     47:        ${AR} r $@ $>
                     48:        ${RANLIB} $@
                     49: 
1.1.1.4   root       50: test_mystring: test_mystring.o libnnlib.a
1.1.1.10  root       51:        ${CXX} ${LDFLAGS} -o $@ $> ${LIBS}
1.1       root       52: 
1.1.1.9   root       53: test_exttostr: exttostr.cpp mystring.o
                     54:        ${CXX} ${LDFLAGS} -I.. -DTEST -o $@ $>
                     55: 
1.1       root       56: .include "../Makefile.rule"

unix.superglobalmegacorp.com

This archive runs on limited infrastructure. Preserving old code on modern bandwidth. Automated agents are requested to crawl responsibly.