mirror of
				https://github.com/RGBCube/serenity
				synced 2025-10-31 15:32:46 +00:00 
			
		
		
		
	 653e61d9cf
			
		
	
	
		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. :^)
		
			
				
	
	
		
			21 lines
		
	
	
	
		
			337 B
		
	
	
	
		
			Makefile
		
	
	
	
	
	
			
		
		
	
	
			21 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
 |