--- nono/util/Makefile 2026/04/29 17:05:05 1.1.1.2 +++ nono/util/Makefile 2026/04/29 17:05:09 1.1.1.3 @@ -3,11 +3,16 @@ # Copyright (C) 2021 isaki@NetBSD.org # +.include "../Makefile.inc" + SUBDIR= \ autoserial \ - mkcgrom \ nvramedit \ sramedit \ - viewcgrom \ + +.if "${WITH_GUI}" == "yes" +SUBDIR+= mkcgrom +SUBDIR+= viewcgrom +.endif .include