mirror of https://github.com/PurpleI2P/i2pd.git
I2P: End-to-End encrypted and anonymous Internet
https://i2pd.website/
You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
21 lines
616 B
21 lines
616 B
CXXFLAGS += -Wall -Wextra -pedantic -O0 -g -std=c++11 -D_GLIBCXX_USE_NANOSLEEP=1 |
|
|
|
TESTS = test-gost test-http-url test-http-req test-http-res test-http-url_decode \ |
|
test-http-merge_chunked test-base-64 |
|
|
|
all: $(TESTS) run |
|
|
|
test-http-%: ../HTTP.cpp test-http-%.cpp |
|
$(CXX) $(CXXFLAGS) $(NEEDED_CXXFLAGS) $(INCFLAGS) -o $@ $^ |
|
|
|
test-base-%: ../Base.cpp test-base-%.cpp |
|
$(CXX) $(CXXFLAGS) $(NEEDED_CXXFLAGS) $(INCFLAGS) -o $@ $^ |
|
|
|
test-gost: ../Gost.cpp test-gost.cpp |
|
$(CXX) $(CXXFLAGS) $(NEEDED_CXXFLAGS) $(INCFLAGS) -o $@ $^ -lcrypto |
|
|
|
run: $(TESTS) |
|
@for TEST in $(TESTS); do ./$$TEST ; done |
|
|
|
clean: |
|
rm -f $(TESTS)
|
|
|