mirror of
https://github.com/gnustep/libs-base.git
synced 2025-04-22 16:33:29 +00:00
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:
parent
ced7216577
commit
ae359fe059
1 changed files with 10 additions and 10 deletions
|
@ -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
|
||||
|
|
Loading…
Reference in a new issue