diff --git a/Makefile b/Makefile deleted file mode 100644 index aa86715..0000000 --- a/Makefile +++ /dev/null @@ -1,4 +0,0 @@ - -all: - make -C test - make -C example diff --git a/test/Makefile b/test/Makefile index 50a6880..4c2c838 100644 --- a/test/Makefile +++ b/test/Makefile @@ -9,9 +9,8 @@ CC = g++ CFLAGS = -std=c++11 -g endif +all : test + ./test + test : test.cc ../httplib.h $(CC) -o test $(CFLAGS) -I.. -I. test.cc gtest/gtest-all.cc gtest/gtest_main.cc - -.PHONY : run -run: test - ./test