mirror of
				https://github.com/PurpleI2P/i2pd.git
				synced 2025-11-04 08:30:46 +00:00 
			
		
		
		
	
		
			
				
	
	
		
			15 lines
		
	
	
	
		
			384 B
		
	
	
	
		
			Makefile
		
	
	
	
	
	
			
		
		
	
	
			15 lines
		
	
	
	
		
			384 B
		
	
	
	
		
			Makefile
		
	
	
	
	
	
CXXFLAGS += -Wall -Wextra -pedantic -O0 -g -std=c++11 -D_GLIBCXX_USE_NANOSLEEP=1
 | 
						|
 | 
						|
TESTS = test-http-url test-http-req test-http-res test-http-url_decode \
 | 
						|
  test-http-merge_chunked
 | 
						|
 | 
						|
all: $(TESTS) run
 | 
						|
 | 
						|
test-http-%: test-http-%.cpp ../HTTP.cpp
 | 
						|
	$(CXX) $(CXXFLAGS) $(NEEDED_CXXFLAGS) $(INCFLAGS) -o $@ $^
 | 
						|
 | 
						|
run: $(TESTS)
 | 
						|
	@for TEST in $(TESTS); do ./$$TEST ; done
 | 
						|
 | 
						|
clean:
 | 
						|
	rm -f $(TESTS)
 |