mirror of
https://github.com/moparisthebest/spdylay
synced 2024-11-05 00:55:07 -05:00
Gather prerequisites of spdycat into $(SPDYCAT_OBJS)
This commit is contained in:
parent
0236d0d2df
commit
78cd59d1d0
@ -28,6 +28,7 @@ LDFLAGS = -L../lib/.libs
|
||||
LIBS = -lspdylay -lssl -lcrypto
|
||||
|
||||
PROGRAMS = spdycat
|
||||
SPDYCAT_OBJS = spdycat.o spdylay_ssl.o util.o uri.o
|
||||
|
||||
.PHONY: all
|
||||
all: $(PROGRAMS)
|
||||
@ -44,8 +45,8 @@ spdylay_ssl.o: spdylay_ssl.cc spdylay_ssl.h
|
||||
spdycat.o: spdycat.cc
|
||||
$(CXX) $(CXXFLAGS) $(LDFLAGS) -c $<
|
||||
|
||||
spdycat: spdycat.o spdylay_ssl.o util.o uri.o
|
||||
$(CXX) $(CXXFLAGS) $(LDFLAGS) $^ -o $@ $(LIBS)
|
||||
spdycat: $(SPDYCAT_OBJS)
|
||||
$(CXX) $(CXXFLAGS) $(LDFLAGS) $(SPDYCAT_OBJS) -o $@ $(LIBS)
|
||||
|
||||
.PHONY: clean
|
||||
clean:
|
||||
|
Loading…
Reference in New Issue
Block a user