Formerly compatMakefile.~48~

This commit is contained in:
Roland McGrath 1992-12-28 23:25:58 +00:00
parent ede645439a
commit 52930ae3a9

View file

@ -140,8 +140,10 @@ make: $(objs)
$(CC) $(LDFLAGS) $(objs) $(LOADLIBES) -o make.new $(CC) $(LDFLAGS) $(objs) $(LOADLIBES) -o make.new
mv -f make.new make mv -f make.new make
.c.o:;\ # -I. is needed to find config.h in the build directory.
$(CC) $(CFLAGS) $(defines) -c -I$(srcdir) -I$(srcdir)/glob $< $(OUTPUT_OPTION) .c.o:
$(CC) $(CFLAGS) $(defines) -c -I. \
-I$(srcdir) -I$(srcdir)/glob $< $(OUTPUT_OPTION)
remote.o: remote.c remote.o: remote.c
$(CC) $(CFLAGS) $(defines) $(REMOTE) -c -I$(srcdir) $(srcdir)/remote.c $(CC) $(CFLAGS) $(defines) $(REMOTE) -c -I$(srcdir) $(srcdir)/remote.c
@ -150,7 +152,7 @@ MAKE = make
glob/libglob.a: force glob/libglob.a: force
cd glob; $(MAKE) CC='$(CC)' CFLAGS='$(CFLAGS) -I..' \ cd glob; $(MAKE) CC='$(CC)' CFLAGS='$(CFLAGS) -I..' \
CPPFLAGS='$(defines)' \ CPPFLAGS='$(CPPFLAGS) -DHAVE_CONFIG_H' \
libglob.a libglob.a
force: force: