mirror of
https://github.com/yhirose/cpp-httplib.git
synced 2025-05-15 09:18:27 +00:00
Adjusted make files.
This commit is contained in:
parent
e8a18ad447
commit
de7bbed622
2 changed files with 3 additions and 8 deletions
4
Makefile
4
Makefile
|
@ -1,4 +0,0 @@
|
||||||
|
|
||||||
all:
|
|
||||||
make -C test
|
|
||||||
make -C example
|
|
|
@ -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…
Add table
Add a link
Reference in a new issue