mirror of
https://github.com/gnustep/libs-base.git
synced 2025-04-22 16:33:29 +00:00
(EXEEXT): New variable.
(OEXT): New variable. (LIBEXT): New variable. (SRCS): Remove port-{server,client}.m. git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@1471 72102866-910b-0410-8b05-ffd578937521
This commit is contained in:
parent
129a20d3c2
commit
e6362b8885
1 changed files with 9 additions and 4 deletions
|
@ -37,6 +37,10 @@ LDFLAGS =
|
|||
DEFS = @DEFS@
|
||||
LIBS = -L../src -l$(LIBRARY_NAME) @LIBOBJC@ @LIBS@ -lm
|
||||
|
||||
EXEEXT =
|
||||
OEXT = .o
|
||||
LIBEXT = .a
|
||||
|
||||
#### End of system configuration section. ####
|
||||
|
||||
include $(srcdir)/../Makeconf
|
||||
|
@ -62,8 +66,6 @@ SRCS = \
|
|||
dictionary.m \
|
||||
stdio-stream.m \
|
||||
textcoding.m \
|
||||
port-server.m \
|
||||
port-client.m \
|
||||
first-server.m \
|
||||
first-client.m \
|
||||
second-server.m \
|
||||
|
@ -79,16 +81,19 @@ EXCS = $(SRCS:.m=)
|
|||
all: $(EXCS)
|
||||
|
||||
# This works for GNU make, but not others.
|
||||
%: %$(OEXT) $(srcdir)/../src/lib$(LIBRARY_NAME)(LIBEXT)
|
||||
%: %$(OEXT) $(srcdir)/../src/lib$(LIBRARY_NAME)$(LIBEXT)
|
||||
$(CC) $(ALL_CFLAGS) $@$(OEXT) -o $@ $(ALL_LDFLAGS)
|
||||
|
||||
../src/lib$(LIBRARY_NAME)$(LIBEXT):
|
||||
@echo You must first make the library $(LIBRARY_NAME).
|
||||
@false
|
||||
|
||||
first: FORCE
|
||||
(cd ../src; $(MAKE))
|
||||
$(MAKE) first-server first-client
|
||||
second: FORCE
|
||||
(cd ../src; $(MAKE))
|
||||
$(MAKE) second-server second-client
|
||||
port: port-server port-client
|
||||
|
||||
install:
|
||||
uninstall:
|
||||
|
|
Loading…
Reference in a new issue