until we automake, let 'make' build all by default

This commit is contained in:
Daniel Stenberg 2006-11-19 13:28:03 +00:00
parent ab26693769
commit 077ba3efd5

View File

@ -14,6 +14,8 @@ SHLIB_LDFLAGS = @SHLIB_LDFLAGS@
LIBS = @LIBS@
INSTALL = @INSTALL@
all: libssh2.@SHLIB_SUFFIX_NAME@
channel.o: channel.c
$(CC) -o channel.o channel.c $(CFLAGS) $(LIBS)
@ -53,8 +55,6 @@ sftp.o: sftp.c
userauth.o: userauth.c
$(CC) -o userauth.o userauth.c $(CFLAGS) $(LIBS)
all: libssh2.@SHLIB_SUFFIX_NAME@
libssh2.@SHLIB_SUFFIX_NAME@: $(OBJECTS)
$(LDCC) -o libssh2.@SHLIB_SUFFIX_NAME@ $(SHLIB_LDFLAGS) $(OBJECTS) $(LIBS) $(LDFLAGS)
libssh2.a: $(OBJECTS)