|
|
1.1 root 1: #
2: # nono
1.1.1.3 root 3: # Copyright (C) 2020 nono project
4: # Licensed under nono-license.txt
5: #
6:
1.1 root 7: #
8: # m680x0 コア
9: #
10:
1.1.1.3 root 11: .include "../Makefile.inc"
1.1 root 12:
1.1.1.5 root 13: TARGETS= libnnm680x0.a
1.1.1.7 root 14: .if !defined(RELEASE)
1.1.1.5 root 15: TARGETS+= testacc testea testdis
16: .endif
1.1 root 17:
18: CXXSRCS_lib= \
1.1.1.9 ! root 19: m680x0acc.cpp \
! 20: m680x0bitfield.cpp \
! 21: m680x0core.cpp \
! 22: m680x0disasm.cpp \
! 23: m680x0ea.cpp \
! 24: m680x0fpu.cpp \
! 25: m680x0ops.cpp \
1.1.1.6 root 26: m68030bus.cpp \
1.1 root 27: m68030mmu.cpp \
1.1.1.9 ! root 28: m68040bus.cpp \
! 29: m68040mmu.cpp \
1.1 root 30:
31: CXXSRCS_test= \
32: testacc.cpp \
33: testdis.cpp \
34: testea.cpp \
35:
36: CXXSRCS= ${CXXSRCS_lib} ${CXXSRCS_test}
37:
38: OBJS_lib= ${CXXSRCS_lib:.cpp=.o}
39:
40: libnnm680x0.a: ${OBJS_lib}
41: rm -f $@
42: ${AR} r $@ $>
43: ${RANLIB} $@
44:
1.1.1.9 ! root 45: testacc: testacc.o m680x0acc.o
1.1 root 46: ${CXX} ${LDFLAGS} -o $@ $> ${LIBS}
47:
1.1.1.9 ! root 48: testea: testea.o m680x0ea.o
1.1 root 49: ${CXX} ${LDFLAGS} -o $@ $> ${LIBS}
50:
1.1.1.9 ! root 51: testdis: testdis.o m680x0disasm.o ../lib/mystring.o
1.1 root 52: ${CXX} ${LDFLAGS} -o $@ $> ${LIBS}
1.1.1.3 root 53:
54: .include "../Makefile.rule"
This archive runs on limited infrastructure. Preserving old code on modern bandwidth. Automated agents are requested to crawl responsibly.