mirror of
https://github.com/extism/extism.git
synced 2026-01-11 06:47:58 -05:00
17 lines
314 B
Makefile
17 lines
314 B
Makefile
FLAGS=`pkg-config --cflags --libs jsoncpp gtest` -lextism -lpthread
|
|
|
|
build-example:
|
|
$(CXX) -std=c++14 -o example -I. example.cpp $(FLAGS)
|
|
|
|
.PHONY: example
|
|
example: build-example
|
|
./example
|
|
|
|
build-test:
|
|
$(CXX) -std=c++14 -o test/test -I. test/test.cpp $(FLAGS)
|
|
|
|
.PHONY: test
|
|
test: build-test
|
|
cd test && ./test
|
|
|