1
0
mirror of https://github.com/moparisthebest/spdylay synced 2024-11-16 06:25:04 -05:00

Gather prerequisites of spdycat into $(SPDYCAT_OBJS)

This commit is contained in:
Tatsuhiro Tsujikawa 2012-02-01 02:19:40 +09:00
parent 0236d0d2df
commit 78cd59d1d0

View File

@ -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: