Browse Source

Adjusted make files.

yhirose 13 years ago
parent
commit
de7bbed622
2 changed files with 3 additions and 8 deletions
  1. 0 4
      Makefile
  2. 3 4
      test/Makefile

+ 0 - 4
Makefile

@@ -1,4 +0,0 @@
-
-all:
-	make -C test
-	make -C example

+ 3 - 4
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