--- nono/m680x0/Makefile 2026/04/29 17:04:31 1.1.1.2 +++ nono/m680x0/Makefile 2026/04/29 17:04:43 1.1.1.4 @@ -1,13 +1,16 @@ # # 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" -CXXFLAGS+= -mtune=native +TARGETS= libnnm680x0.a testacc testea testdis CXXSRCS_lib= \ m68030acc.cpp \ @@ -27,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 $@ $> @@ -40,5 +41,7 @@ testacc: testacc.o testea: testea.o ${CXX} ${LDFLAGS} -o $@ $> ${LIBS} -testdis: testdis.o m68030disasm.o ../lib/mystring.o +testdis: testdis.o m68030disasm.o ../debugger/debugger_memory.o ../lib/mystring.o ${CXX} ${LDFLAGS} -o $@ $> ${LIBS} + +.include "../Makefile.rule"