Adjusted make files.
This commit is contained in:
parent
e8a18ad447
commit
de7bbed622
@ -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
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user