Annotation of nono/util/runx/Makefile, revision 1.1

1.1     ! root        1: #
        !             2: # nono
        !             3: # Copyright (C) 2024 nono project
        !             4: # Licensed under nono-license.txt
        !             5: #
        !             6: 
        !             7: # この Makefile は m68k で実行するほうだが、
        !             8: # ./Makefile.cross を用意して、
        !             9: # CXX=<TOOLSDIR>/bin/m68k--netbsdelf-g++ --sysroot=<DESTDIR>
        !            10: # を書いておくと、クロスビルド出来る。
        !            11: .if exists(Makefile.cross)
        !            12: .include "Makefile.cross"
        !            13: .endif
        !            14: 
        !            15: OBJS=  \
        !            16:        doscall.o       \
        !            17:        iocscall.o      \
        !            18:        m680x0.o        \
        !            19:        runx.o  \
        !            20:        util.o  \
        !            21: 
        !            22: CXXFLAGS+=     -g
        !            23: #CXXFLAGS+=    -Og
        !            24: 
        !            25: LDFLAGS+=      -Wl,-Ttext-segment=0x01000000
        !            26: LDFLAGS+=      -g
        !            27: 
        !            28: runx:  ${OBJS}
        !            29:        ${CXX} ${LDFLAGS} -o $@ ${OBJS} ${LIBS}
        !            30: 
        !            31: .cpp.o:
        !            32:        ${CXX} ${CXXFLAGS} -c $<
        !            33: 
        !            34: clean:
        !            35:        rm -rf *.o runx
        !            36: 
        !            37: runx.o:        runx.cpp runx.h
        !            38: doscall.o:     doscall.cpp runx.h
        !            39: iocscall.o:    iocscall.cpp runx.h
        !            40: m680x0.o: m680x0.cpp runx.h
        !            41: util.o:        util.cpp runx.h

unix.superglobalmegacorp.com

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