openbsd-ports/x11/915resolution/patches/patch-Makefile
sturm c19b0efc58 add support for amd64
from Stefan Sperling <stsp at stsp.in-berlin.de>
ok maintainer
2007-03-31 15:32:20 +00:00

27 lines
497 B
Plaintext

$OpenBSD: patch-Makefile,v 1.2 2007/03/31 15:32:20 sturm Exp $
--- Makefile.orig Thu Feb 2 15:01:38 2006
+++ Makefile Sat Mar 31 17:23:54 2007
@@ -1,15 +1,8 @@
-PRG=915resolution
+PROG= 915resolution
+SRCS= 915resolution.c
+LDADD= -l${MACHINE_ARCH}
+CFLAGS+= -Wall
+NOMAN= Yes
+BINDIR= ${PREFIX}/sbin
-SRCS=915resolution.c
-OBJS=${SRCS:.c=.o}
-
-CFLAGS:=-s -Wall -ggdb
-
-${PRG}: ${OBJS}
-
-clean:
- rm -f ${OBJS} ${PRG} *~
-
-install: ${PRG}
- cp ${PRG} /usr/sbin
-
+.include <bsd.prog.mk>