--- nono/m680x0/Makefile 2026/04/29 17:04:34 1.1.1.3 +++ nono/m680x0/Makefile 2026/04/29 17:05:15 1.1.1.6 @@ -10,16 +10,21 @@ .include "../Makefile.inc" -TARGETS= libnnm680x0.a testacc testea testdis +TARGETS= libnnm680x0.a +.if !defined(NOTEST) +TARGETS+= testacc testea testdis +.endif CXXSRCS_lib= \ m68030acc.cpp \ + m68030bitfield.cpp \ + m68030bus.cpp \ m68030core.cpp \ m68030disasm.cpp \ m68030ea.cpp \ m68030fpu.cpp \ m68030mmu.cpp \ - m68030subr.cpp \ + m68030ops.cpp \ CXXSRCS_test= \ testacc.cpp \ @@ -35,10 +40,10 @@ libnnm680x0.a: ${OBJS_lib} ${AR} r $@ $> ${RANLIB} $@ -testacc: testacc.o +testacc: testacc.o m68030acc.o ${CXX} ${LDFLAGS} -o $@ $> ${LIBS} -testea: testea.o +testea: testea.o m68030ea.o ${CXX} ${LDFLAGS} -o $@ $> ${LIBS} testdis: testdis.o m68030disasm.o ../lib/mystring.o