$OpenBSD: patch-Makefile_in,v 1.5 2005/02/19 21:27:35 alek Exp $
--- Makefile.in.orig	Thu Oct 16 00:38:18 2003
+++ Makefile.in	Sat Feb 19 22:10:08 2005
@@ -133,19 +133,19 @@ dummy:
 
 # Tester for address parsing
 rfc822: rfc822.c
-	gcc -DMAIN -g rfc822.c -o rfc822
+	$(CC) -DMAIN -g -o $@ $?
 
 # Stand-alone MIME decoder
 unmime: unmime.c base64.c rfc822.c xmalloc.c report.c
-	$(CC) -DSTANDALONE -DHAVE_CONFIG_H -I. -g -o $@ $^
+	$(CC) -DSTANDALONE -DHAVE_CONFIG_H -I. -g -o $@ $?
 
 
 # Stand-alone netrc tester
 netrc: netrc.c xmalloc.o report.o
-	$(CC) -DSTANDALONE -DHAVE_CONFIG_H -I. -g -o $@ $^
+	$(CC) -DSTANDALONE -DHAVE_CONFIG_H -I. -g -o $@ $?
 
 .c.o:
-	$(CC) $(defines) -c $(CPFLAGS) -I. -I$(srcdir) -I$(top_builddir)/intl -I$(top_srcdir)/intl $(CEFLAGS) $(CFLAGS) $<
+	$(CC) $(defines) -c $(CPFLAGS) -I. -I$(srcdir) $(CEFLAGS) $(CFLAGS) $<
 
 # For some losing Unix makes.
 SHELL = /bin/sh
