From e8778aba27e0737b4212d4b5fca9af531b975d40 Mon Sep 17 00:00:00 2001 From: Claudius Holeksa Date: Wed, 10 May 2023 11:42:47 +0200 Subject: Fixed an issue with incomplete compilation flags. Confirmed functionality by building an example --- example/Makefile | 16 ++++++++++++++++ 1 file changed, 16 insertions(+) create mode 100644 example/Makefile (limited to 'example/Makefile') diff --git a/example/Makefile b/example/Makefile new file mode 100644 index 0000000..408b2f3 --- /dev/null +++ b/example/Makefile @@ -0,0 +1,16 @@ +.PHONY: all clean + +PREFIX ?= /usr/local + +all: build/example + +build/example: + mkdir -p ./build + c++ -std=c++17 -lkeltest example.cpp -o build/example + +clean: + rm -rf ./build + +install: build/example + mkdir -p ${PREFIX}/bin + cp build/example ${PREFIX}/bin/example -- cgit v1.2.3