X-Git-Url: https://git.armaanb.net/?a=blobdiff_plain;f=Makefile;h=9cca8ca26322cae9607ecb6de5ba2ad00b1f142d;hb=8872767adddd36c58d2fd3ec5f2d1b35fe37c399;hp=59c4ee76d5d3824587243666f3b14a0657d17c6d;hpb=c0e3a9f6690cfcefaa390a63c89cfa2f074287ad;p=opendoas.git diff --git a/Makefile b/Makefile index 59c4ee7..9cca8ca 100644 --- a/Makefile +++ b/Makefile @@ -1,20 +1,16 @@ # $OpenBSD: Makefile,v 1.9 2014/01/13 01:41:00 tedu Exp $ -SRCS= parse.y doas.c +SRCS= parse.y doas.c env.c PROG= doas MAN= doas.1 doas.conf.5 BINOWN= root -BINGRP= wheel -BINMODE=4511 +BINGRP= root +BINMODE=4111 CFLAGS+= -I${CURDIR} -COPTS+= -Wall -Wextra -Werror -pedantic -std=c11 -LDFLAGS+= -lpam +COPTS+= -Wall -Wextra -Werror -pedantic +YFLAGS= include bsd.prog.mk - -/etc/pam.d/doas: pam.d__doas - cp $< $@ -install: /etc/pam.d/doas