]> git.armaanb.net Git - opendoas.git/blobdiff - Makefile
open pam sessions with right user and remove setusercontext shim
[opendoas.git] / Makefile
index 191d00faedbe4910211c71ec01af44ad916c63ff..66792eb7f566e39c33a398a237557df1734074e4 100644 (file)
--- a/Makefile
+++ b/Makefile
@@ -6,9 +6,10 @@ PROG=  doas
 MAN=   doas.1 doas.conf.5
 
 BINOWN= root
-BINMODE=4555
+BINGRP= root
+BINMODE=4111
 
-CFLAGS+= -I${.CURDIR}
-COPTS+=        -Wall
+CFLAGS+= -I${CURDIR}
+COPTS+= -Wall -Wextra -Werror -pedantic -std=c11
 
-.include <bsd.prog.mk>
+include bsd.prog.mk