diff --git a/Make.rules.in b/Make.rules.in
index 6f1104944cf7d69d3f26a6f77489ee14e77a55e5..8c9cab2c13dbc7d70178ee1b8ed1900c973b7299 100644
--- a/Make.rules.in
+++ b/Make.rules.in
@@ -98,13 +98,13 @@ LINTS = $(C_SRCS:.c=.ln)
 .SUFFIXES: .mc .rc .mc.rc .res .spec .spec.c .glue.c
 
 .c.o:
-	$(CC) -c $(ALLCFLAGS) -o $*.o $<
+	$(CC) -c $(ALLCFLAGS) -o $@ $<
 
 .s.o:
-	$(AS) -o $*.o $<  
+	$(AS) -o $@ $<
 
 .S.o:
-	$(CC) -c -o $*.o $<  
+	$(CC) -c -o $@ $<
 
 .mc.mc.rc:
 	$(LDPATH) $(WMC) -i -H /dev/null -o $@ $<