diff --git a/gcc/ChangeLog b/gcc/ChangeLog index b121296fa25..abfd9b81a82 100644 --- a/gcc/ChangeLog +++ b/gcc/ChangeLog @@ -3,6 +3,9 @@ Sun Mar 22 00:50:42 1998 Nick Clifton * Makefile.in: Various fixes for building cygwin32 native toolchains. + * objc/Makefile.in: Various fixes for building cygwin32 native toolchains. + * objc/Make-lang.in: Likewise. + Sun Mar 22 00:21:46 1998 R. Ganesan * configure.in: Handle with-PACKAGE=no correctly diff --git a/gcc/objc/Make-lang.in b/gcc/objc/Make-lang.in index 5bf6b3417ed..f5f8289f580 100644 --- a/gcc/objc/Make-lang.in +++ b/gcc/objc/Make-lang.in @@ -50,8 +50,8 @@ OBJC_FLAGS_TO_PASS = \ # # Define the names for selecting Objective-C in LANGUAGES. -OBJC objc: cc1obj objc-runtime -OBJECTIVE-C objective-c: cc1obj objc-runtime +OBJC objc: cc1obj$(exeext) objc-runtime +OBJECTIVE-C objective-c: cc1obj$(exeext) objc-runtime # Tell GNU make to ignore these if they exist. .PHONY: objective-c objc ObjC @@ -62,7 +62,7 @@ OBJC_THREAD_FILE=thr-$(GCC_THREAD_FILE) # Language-specific object files for Objective C. OBJC_OBJS = objc-parse.o objc-act.o $(C_AND_OBJC_OBJS) -cc1obj: $(P) $(OBJC_OBJS) $(OBJS) $(LIBDEPS) +cc1obj$(exeext): $(P) $(OBJC_OBJS) $(OBJS) $(LIBDEPS) $(CC) $(ALL_CFLAGS) $(LDFLAGS) -o $@ $(OBJC_OBJS) $(OBJS) \ $(LIBS) diff --git a/gcc/objc/Makefile.in b/gcc/objc/Makefile.in index 9d521f54cdc..5f1bc8811eb 100644 --- a/gcc/objc/Makefile.in +++ b/gcc/objc/Makefile.in @@ -63,7 +63,7 @@ OBJC_H = hash.h objc-list.h sarray.h objc.h objc-api.h \ all.indirect: Makefile compiler objc-runtime compiler: - cd ..; $(MAKE) cc1obj + cd ..; $(MAKE) cc1obj$(exeext) objc-runtime: cd ..; $(MAKE) libobjc.a