1
0
mirror of synced 2025-04-20 11:47:43 +03:00

Adjusted make files.

This commit is contained in:
yhirose 2012-10-12 16:12:42 -04:00
parent e8a18ad447
commit de7bbed622
2 changed files with 3 additions and 8 deletions

View File

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

View File

@ -9,9 +9,8 @@ CC = g++
CFLAGS = -std=c++11 -g CFLAGS = -std=c++11 -g
endif endif
all : test
./test
test : test.cc ../httplib.h test : test.cc ../httplib.h
$(CC) -o test $(CFLAGS) -I.. -I. test.cc gtest/gtest-all.cc gtest/gtest_main.cc $(CC) -o test $(CFLAGS) -I.. -I. test.cc gtest/gtest-all.cc gtest/gtest_main.cc
.PHONY : run
run: test
./test