--- nono/util/mkcgrom/Makefile.in 2026/04/29 17:04:28 1.1 +++ nono/util/mkcgrom/Makefile.in 2026/04/29 17:04:54 1.1.1.3 @@ -3,6 +3,9 @@ # Copyright (C) 2018 isaki@NetBSD.org # +TOPDIR= ../.. +.include "${TOPDIR}/Makefile.inc" + TARGETS= mkcgrom CXXFLAGS+= -g @@ -15,7 +18,7 @@ LIBS+= @WXWIDGETS_LIBS@ CXXSRCS= mkcgrom.cpp OBJS= ${CXXSRCS:.cpp=.o} -.include "../../Makefile.inc" - mkcgrom: ${OBJS} ${CXX} ${LDFLAGS} -o $@ $> ${LIBS} + +.include "${TOPDIR}/Makefile.rule"