--- nono/m88xx0/Makefile 2026/04/29 17:04:34 1.1.1.2 +++ nono/m88xx0/Makefile 2026/04/29 17:04:52 1.1.1.3 @@ -10,7 +10,7 @@ .include "../Makefile.inc" -TARGETS= libnnm88xx0.a +TARGETS= libnnm88xx0.a testdis CXXSRCS_lib= \ m88100core.cpp \ @@ -18,7 +18,10 @@ CXXSRCS_lib= \ m88100subr.cpp \ m88200.cpp \ -CXXSRCS= ${CXXSRCS_lib} +CXXSRCS_test= \ + testdis.cpp \ + +CXXSRCS= ${CXXSRCS_lib} ${CXXSRCS_test} OBJS_lib= ${CXXSRCS_lib:.cpp=.o} @@ -27,4 +30,7 @@ libnnm88xx0.a: ${OBJS_lib} ${AR} r $@ $> ${RANLIB} $@ +testdis: testdis.o m88100disasm.o ../debugger/debugger_memory.o ../lib/mystring.o + ${CXX} ${LDFLAGS} -o $@ $> ${LIBS} + .include "../Makefile.rule"