summaryrefslogtreecommitdiff
path: root/benchmarks/dhrystone/patches/patch-aa
blob: 873a591bd4287b62d90b88ab162f3145115866e5 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
$NetBSD: patch-aa,v 1.2 2001/01/11 01:56:13 wiz Exp $

--- Makefile.orig	Tue Jul 12 21:35:06 1988
+++ Makefile
@@ -14,33 +14,33 @@
 #	For Microsoft C under DOS, you need a real make, not MSC make,
 #	to run this Makefile.  The public domain "ndmake" will suffice.
 #
-CC=		cl			# C compiler name goes here (MSC)
+#CC=		cl			# C compiler name goes here (MSC)
 CC=		cc			# C compiler name goes here (UNIX)
 
-PROGS=		msc			# Programs to build (MSC)
+#PROGS=		msc			# Programs to build (MSC)
 PROGS=		unix			# Programs to build (UNIX)
 
 TIME_FUNC=	-DMSC_CLOCK		# Use Microsoft clock() for measurement
-TIME_FUNC=	-DTIME			# Use time(2) for measurement
-TIME_FUNC=	-DTIMES			# Use times(2) for measurement
-HZ=		50			# Frequency of times(2) clock ticks
-HZ=		60			# Frequency of times(2) clock ticks
-HZ=		100			# Frequency of times(2) clock ticks
-HZ=		1			# Give bogus result unless changed!
-HZ=		60			# Frequency of times(2) clock ticks
+#TIME_FUNC=	-DTIME			# Use time(2) for measurement
+#TIME_FUNC=	-DTIMES			# Use times(2) for measurement
+#HZ=		50			# Frequency of times(2) clock ticks
+#HZ=		60			# Frequency of times(2) clock ticks
+#HZ=		100			# Frequency of times(2) clock ticks
+#HZ=		1			# Give bogus result unless changed!
+#HZ=		60			# Frequency of times(2) clock ticks
 
 STRUCTASSIGN=				# Compiler can assign structs
-STRUCTASSIGN=	-DNOSTRUCTASSIGN	# Compiler cannot assign structs
+#STRUCTASSIGN=	-DNOSTRUCTASSIGN	# Compiler cannot assign structs
 
 ENUMS=					# Compiler does have enum type
-ENUMS=		-DNOENUMS		# Compiler doesn't have enum type
+#ENUMS=		-DNOENUMS		# Compiler doesn't have enum type
 
-OPTIMIZE=	-Ox -G2			# Optimization Level (MSC, 80286)
-OPTIMIZE=	-O			# Optimization Level (generic UNIX)
+#OPTIMIZE=	-Ox -G2			# Optimization Level (MSC, 80286)
+#OPTIMIZE=	-O2			# Optimization Level (generic UNIX)
 
 LFLAGS=					#Loader Flags
 
-CFLAGS=	$(OPTIMIZE) $(TIME_FUNC) -DHZ=$(HZ) $(ENUMS) $(STRUCTASSIGN) $(CFL)
+CFLAGS+=	$(OPTIMIZE) $(TIME_FUNC) $(ENUMS) $(STRUCTASSIGN) $(CFL)
 
 #
 #		You shouldn't need to touch the rest