Annotation of nono/lib/Makefile, revision 1.1.1.10

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       root       23:        logger.cpp      \
1.1.1.6   root       24:        macaddr.cpp     \
1.1       root       25:        mainapp.cpp     \
                     26:        mappedfile.cpp  \
1.1.1.4   root       27:        monitor.cpp             \
                     28:        monitor_id.cpp  \
1.1       root       29:        mystring.cpp    \
                     30:        mythread.cpp    \
1.1.1.6   root       31:        panic.cpp       \
1.1       root       32:        textscreen.cpp  \
                     33: 
1.1.1.8   root       34: .if "${HOST_HAS_AVX2}" == "yes"
1.1.1.10! root       35: CXXSRCS+=      bitmap_avx2.cpp
1.1.1.8   root       36: CXXFLAGS.bitmap_avx2.cpp+=     -mavx2
                     37: .endif
                     38: 
1.1       root       39: CXXSRCS_test=  \
1.1.1.4   root       40:        test_mystring.cpp       \
1.1       root       41: 
1.1.1.10! root       42: CXXSRCS_all=   ${CXXSRCS} ${CXXSRCS_test}
1.1       root       43: 
1.1.1.10! root       44: OBJS=  ${CXXSRCS:.cpp=.o}
1.1       root       45: 
1.1.1.10! root       46: libnnlib.a:    ${OBJS}
1.1       root       47:        rm -f $@
                     48:        ${AR} r $@ $>
                     49:        ${RANLIB} $@
                     50: 
1.1.1.4   root       51: test_mystring: test_mystring.o libnnlib.a
1.1.1.10! root       52:        ${CXX} ${LDFLAGS} -o $@ $> ${LIBS}
1.1       root       53: 
1.1.1.9   root       54: test_exttostr: exttostr.cpp mystring.o
                     55:        ${CXX} ${LDFLAGS} -I.. -DTEST -o $@ $>
                     56: 
1.1       root       57: .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.