--- nono/Makefile 2026/04/29 17:04:43 1.1.1.5 +++ nono/Makefile 2026/04/29 17:05:11 1.1.1.7 @@ -18,16 +18,25 @@ # MacOSX error no "Darwin" yes # Linux yes yes "Linux" yes +.include "Makefile.cfg" + .if "${.MAKE.OS}" == "NetBSD" || "${.MAKE.OS}" == "Linux" WAIT_HERE = .WAIT .endif -SUBDIR= lib debugger m680x0 fpe m88xx0 vm host po ${WAIT_HERE} cli wx +.if "${WITH_GUI}" == "yes" +SUBDIR_PO= po +SUBDIR_WX= wx +.endif + +SUBDIR= lib debugger ${WAIT_HERE} \ + m680x0 fpe m88xx0 vm host ${SUBDIR_PO} ${WAIT_HERE} \ + cli ${SUBDIR_WX} # .pot を作る .PHONY: pot pot: xgettext -d nono -o - -k_ --from-code utf-8 -s `cat po/POTFILES` |\ - awk -f po/header.awk - > po/nono.pot + perl po/format.pl - > po/nono.pot .include