--- nono/Makefile 2026/04/29 17:04:37 1.1.1.4 +++ nono/Makefile 2026/04/29 17:05:26 1.1.1.9 @@ -18,16 +18,25 @@ # MacOSX error no "Darwin" yes # Linux yes yes "Linux" yes -.if "${.MAKE.OS}" == "NetBSD" || "${.MAKE.OS}" == "Linux" +.include "Makefile.cfg" + +.if "${.MAKE.OS}" == "NetBSD" WAIT_HERE = .WAIT .endif -SUBDIR= lib m680x0 fpe m88xx0 vm debugger 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 hd64180 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