run-makefile-gcc4.diff   [plain text]


--- makefile.orig	2008-11-12 11:50:29.000000000 -0800
+++ makefile	2008-11-12 11:42:56.000000000 -0800
@@ -50,7 +50,7 @@
 	vcvars32.bat buildwin.bat awk.1
 
 a.out:	ytab.o $(OFILES)
-	$(CC) $(CFLAGS) ytab.o $(OFILES) $(ALLOC)  -lm
+	$(CC) $(CFLAGS) ytab.o $(OFILES) $(ALLOC)  -lm -o a.out
 
 $(OFILES):	awk.h ytab.h proto.h