Look for LIBOBJECTS_A_OR_SO, not libobjects.a.

git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@668 72102866-910b-0410-8b05-ffd578937521
This commit is contained in:
Andrew McCallum 1995-11-07 02:20:42 +00:00
parent 3db62261fc
commit 9d7270bd34

View file

@ -78,29 +78,29 @@ EXCS = $(SRCS:.m=)
all: $(EXCS)
# This works for GNU make, but not others.
# %: %.o $(srcdir)/../src/libobjects.a
# %: %.o $(srcdir)/../src/$(LIBOBJECTS_A_OR_SO)
# $(CC) $(ALL_CFLAGS) $< -o $@ $(ALL_LDFLAGS)
# How can I do this in a better way than the ugliness below?
# (but also have it work on old-style /bin/make)
LINK_CMD = $(CC) $(ALL_CFLAGS) $@.o -o $@ $(ALL_LDFLAGS)
dictionary: dictionary.o $(srcdir)/../src/libobjects.a
dictionary: dictionary.o $(srcdir)/../src/$(LIBOBJECTS_A_OR_SO)
$(LINK_CMD)
stdio-stream: stdio-stream.o $(srcdir)/../src/libobjects.a
stdio-stream: stdio-stream.o $(srcdir)/../src/$(LIBOBJECTS_A_OR_SO)
$(LINK_CMD)
textcoding: textcoding.o $(srcdir)/../src/libobjects.a
textcoding: textcoding.o $(srcdir)/../src/$(LIBOBJECTS_A_OR_SO)
$(LINK_CMD)
port-server: port-server.o $(srcdir)/../src/libobjects.a
port-server: port-server.o $(srcdir)/../src/$(LIBOBJECTS_A_OR_SO)
$(LINK_CMD)
port-client: port-client.o $(srcdir)/../src/libobjects.a
port-client: port-client.o $(srcdir)/../src/$(LIBOBJECTS_A_OR_SO)
$(LINK_CMD)
first-server: first-server.o $(srcdir)/../src/libobjects.a
first-server: first-server.o $(srcdir)/../src/$(LIBOBJECTS_A_OR_SO)
$(LINK_CMD)
first-client: first-client.o $(srcdir)/../src/libobjects.a
first-client: first-client.o $(srcdir)/../src/$(LIBOBJECTS_A_OR_SO)
$(LINK_CMD)
second-server: second-server.o $(srcdir)/../src/libobjects.a
second-server: second-server.o $(srcdir)/../src/$(LIBOBJECTS_A_OR_SO)
$(LINK_CMD)
second-client: second-client.o $(srcdir)/../src/libobjects.a
second-client: second-client.o $(srcdir)/../src/$(LIBOBJECTS_A_OR_SO)
$(LINK_CMD)
first: first-server first-client