--- nono/m680x0/Makefile 2026/04/29 17:04:28 1.1.1.1 +++ nono/m680x0/Makefile 2026/04/29 17:04:34 1.1.1.3 @@ -1,19 +1,21 @@ # # nono -# Copyright (C) 2017 isaki@NetBSD.org +# Copyright (C) 2020 nono project +# Licensed under nono-license.txt +# + # # m680x0 コア # -TARGETS= libnnm680x0.a testacc testea testdis +.include "../Makefile.inc" -CPPFLAGS+= -I. -I.. -I../fpe -I../lib -I../vm -I../debugger -CXXFLAGS+= -mtune=native +TARGETS= libnnm680x0.a testacc testea testdis CXXSRCS_lib= \ - disasm.cpp \ m68030acc.cpp \ m68030core.cpp \ + m68030disasm.cpp \ m68030ea.cpp \ m68030fpu.cpp \ m68030mmu.cpp \ @@ -28,8 +30,6 @@ CXXSRCS= ${CXXSRCS_lib} ${CXXSRCS_test} OBJS_lib= ${CXXSRCS_lib:.cpp=.o} -.include "../Makefile.inc" - libnnm680x0.a: ${OBJS_lib} rm -f $@ ${AR} r $@ $> @@ -41,5 +41,7 @@ testacc: testacc.o testea: testea.o ${CXX} ${LDFLAGS} -o $@ $> ${LIBS} -testdis: testdis.o disasm.o ../lib/mystring.o +testdis: testdis.o m68030disasm.o ../lib/mystring.o ${CXX} ${LDFLAGS} -o $@ $> ${LIBS} + +.include "../Makefile.rule"