From de7bbed6221027ecdf394fab647c0ce31ec9db70 Mon Sep 17 00:00:00 2001 From: yhirose Date: Fri, 12 Oct 2012 16:12:42 -0400 Subject: [PATCH] Adjusted make files. --- Makefile | 4 ---- test/Makefile | 7 +++---- 2 files changed, 3 insertions(+), 8 deletions(-) delete mode 100644 Makefile 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