From 29c7b279d5d54a600db62b55ceca4e1dbd094032 Mon Sep 17 00:00:00 2001
From: rswindell <>
Date: Thu, 2 May 2002 20:52:25 +0000
Subject: [PATCH] Put filename last on cc command-line (required by bc++).

---
 src/xpdev/GNUmakefile | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/src/xpdev/GNUmakefile b/src/xpdev/GNUmakefile
index 4e595735bf..507f45c9be 100644
--- a/src/xpdev/GNUmakefile
+++ b/src/xpdev/GNUmakefile
@@ -66,7 +66,7 @@ include targets.mk		# defines all and clean targets
 # Implicit C Compile Rule
 $(ODIR)/%.o : %.c
 	@echo Compiling $<
-	@$(CC) $(CFLAGS) -c $< -o$@
+	@$(CC) $(CFLAGS) -o $@ -c $<
 
 # Create output directories
 $(ODIR):
@@ -75,5 +75,5 @@ $(ODIR):
 # Executable Build Rule
 $(WRAPTEST): $(ODIR)/wraptest.o $(OBJS)
 	@echo Linking $@
-	@$(CC) $(LFLAGS) $^ -o$@
+	@$(CC) $(LFLAGS) -o $@ $^
 
-- 
GitLab