One more fix for 105271

This commit is contained in:
jpierre%netscape.com 2001-11-02 03:37:41 +00:00
parent 242cbc0406
commit 21b2ea2ba9

View File

@ -418,17 +418,29 @@ $(OBJDIR)/$(PROG_PREFIX)%$(OBJ_SUFFIX): %.c
@$(MAKE_OBJDIR)
ifdef USE_NT_C_SYNTAX
ifdef XP_OS2_VACPP
ifeq (,$(findstring :,$<))
$(CC) -Fo$@ -c $(CFLAGS) $(subst /,\\,$(shell pwd)/$<)
else
$(CC) -Fo$@ -c $(CFLAGS) $(subst /,\\,$<)
endif
else
$(CC) -Fo$@ -c $(CFLAGS) $(subst /,\\,$<)
endif
else
$(CC) -o $@ -c $(CFLAGS) $<
endif
$(PROG_PREFIX)%$(OBJ_SUFFIX): %.c
ifdef USE_NT_C_SYNTAX
ifdef XP_OS2_VACPP
ifeq (,$(findstring :,$<))
$(CC) -Fo$@ -c $(CFLAGS) $(subst /,\\,$(shell pwd)/$<)
else
$(CC) -Fo$@ -c $(CFLAGS) $(subst /,\\,$<)
endif
else
$(CC) -Fo$@ -c $(CFLAGS) $(subst /,\\,$<)
endif
else
$(CC) -o $@ -c $(CFLAGS) $<
endif
@ -455,10 +467,14 @@ $(OBJDIR)/$(PROG_PREFIX)%: %.cpp
@$(MAKE_OBJDIR)
ifdef USE_NT_C_SYNTAX
ifdef XP_OS2_VACPP
ifeq (,$(findstring :,$<))
$(CCC) -Fo$@ -c $(CFLAGS) $(subst /,\\,$(shell pwd)/$<)
else
$(CCC) -Fo$@ -c $(CFLAGS) $<
endif
else
$(CCC) -Fo$@ -c $(CFLAGS) $<
endif
else
$(CCC) -o $@ -c $(CFLAGS) $<
endif
@ -479,7 +495,11 @@ ifdef STRICT_CPLUSPLUS_SUFFIX
else
ifdef USE_NT_C_SYNTAX
ifdef XP_OS2_VACPP
ifeq (,$(findstring :,$<))
$(CCC) -Fo$@ -c $(CFLAGS) $(subst /,\\,$(shell pwd)/$<)
else
$(CCC) -Fo$@ -c $(CFLAGS) $<
endif
else
$(CCC) -Fo$@ -c $(CFLAGS) $<
endif