mirror of
https://github.com/LadybirdBrowser/ladybird.git
synced 2025-01-08 12:19:37 +03:00
653e61d9cf
LibProtocol::Client::start_download() now gives you a Download object with convenient hooks (on_finish & on_progress). Also, the IPC handshake is snuck into the Client constructor, so you don't need to perform it after instantiating a Client. This makes using LibProtocol much more pleasant. :^)
22 lines
337 B
Makefile
22 lines
337 B
Makefile
include ../../Makefile.common
|
|
|
|
OBJS = \
|
|
Download.o \
|
|
Client.o
|
|
|
|
LIBRARY = libprotocol.a
|
|
DEFINES += -DUSERLAND
|
|
|
|
all: $(LIBRARY)
|
|
|
|
$(LIBRARY): $(OBJS)
|
|
@echo "LIB $@"; $(AR) rcs $@ $(OBJS) $(LIBS)
|
|
|
|
.cpp.o:
|
|
@echo "CXX $<"; $(CXX) $(CXXFLAGS) -o $@ -c $<
|
|
|
|
-include $(OBJS:%.o=%.d)
|
|
|
|
clean:
|
|
@echo "CLEAN"; rm -f $(LIBRARY) $(OBJS) *.d
|