openbsd-ports/sysutils/usbutil/patches/patch-Makefile
2010-10-20 15:36:46 +00:00

32 lines
790 B
Plaintext

$OpenBSD: patch-Makefile,v 1.2 2010/10/20 15:36:46 naddy Exp $
--- Makefile.orig Wed May 19 23:05:31 1999
+++ Makefile Wed Oct 20 17:26:54 2010
@@ -1,22 +1,21 @@
PROGS = usbctl usbdebug usbstats usbgen
-CFLAGS = -Wall -s
all: $(PROGS)
man: usbgen.8
- nroff -mandoc usbgen.8 > usbgen.0
+ mandoc usbgen.8 > usbgen.0
usbctl: usbctl.c
- cc $(CFLAGS) usbctl.c -o usbctl
+ ${CC} $(CFLAGS) usbctl.c -o usbctl
usbdebug: usbdebug.c
- cc $(CFLAGS) usbdebug.c -o usbdebug
+ ${CC} $(CFLAGS) usbdebug.c -o usbdebug
usbstats: usbstats.c
- cc $(CFLAGS) usbstats.c -o usbstats
+ ${CC} $(CFLAGS) usbstats.c -o usbstats
usbgen: usbgen.c
- cc $(CFLAGS) usbgen.c -o usbgen
+ ${CC} $(CFLAGS) usbgen.c -o usbgen
install: $(PROGS)
install usbctl usbdebug usbstats usbgen $(PREFIX)/sbin