X-Git-Url: https://git.armaanb.net/?a=blobdiff_plain;f=Makefile;h=c0ddb1a2005fe3c1d989ef3584efd26c0291ddff;hb=9bfe647d25e27479c391492470e31dedef366238;hp=59c4ee76d5d3824587243666f3b14a0657d17c6d;hpb=c0e3a9f6690cfcefaa390a63c89cfa2f074287ad;p=opendoas.git diff --git a/Makefile b/Makefile index 59c4ee7..c0ddb1a 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=4755 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