avoid assuming cc accepts -o switch (from Tom Hughes)
Gurusamy Sarathy [Fri, 4 Feb 2000 07:34:38 +0000 (07:34 +0000)]
p4raw-id: //depot/perl@4981

Makefile.SH

index 044317d..c3e5c85 100644 (file)
@@ -294,7 +294,10 @@ FORCE:
        @sh -c true
 
 opmini$(OBJ_EXT): op.c
-       $(CCCMD) $(PLDLFLAGS) -DPERL_EXTERNAL_GLOB -o opmini$(OBJ_EXT) op.c
+       $(RMS) opmini.c
+       $(LNS) op.c opmini.c
+       $(CCCMD) $(PLDLFLAGS) -DPERL_EXTERNAL_GLOB opmini.c
+       $(RMS) opmini.c
 
 miniperlmain$(OBJ_EXT): miniperlmain.c
        $(CCCMD) $(PLDLFLAGS) $*.c