pkgsrc/benchmarks/netpipe/patches/patch-aa

35 lines
826 B
Text

$NetBSD: patch-aa,v 1.3 2003/09/19 18:14:03 wiz Exp $
--- Makefile.orig Tue Apr 27 22:03:25 1999
+++ Makefile Fri Sep 19 16:47:27 2003
@@ -4,7 +4,7 @@
#
# Default C compiler: must be an ANSI C compiler
-CC = cc
+#CC = cc
# File names for the main source files
DRIV_SRC = netpipe.c
DRIV_OBJ = netpipe.o
@@ -13,7 +13,7 @@
TARGETS = NPtcp
# If you have TCP, MPI and PVM
#TARGETS = NPtcp NPmpi NPpvm
-CFLAGS = -O
+#CFLAGS = -O
# Adjust these for MPI (only used if you have MPI)
MPI_HOME = /home/mpich
MPI_ARCH = IRIX
@@ -22,10 +22,10 @@
PVM_HOME = /home/pvm3
PVM_ARCH = SUN4SOL2
# Any extra libraries needed
-EXTRA_LIBS =
+#EXTRA_LIBS =
#EXTRA_LIBS = -lgcc
-targets: $(TARGETS)
+all: $(TARGETS)
#
# This section of the Makefile is for compiling the binaries