diff options
| author | Claudius Holeksa <mail@keldu.de> | 2023-05-10 11:42:47 +0200 |
|---|---|---|
| committer | Claudius Holeksa <mail@keldu.de> | 2023-05-10 11:42:47 +0200 |
| commit | e8778aba27e0737b4212d4b5fca9af531b975d40 (patch) | |
| tree | 0f1cfc1ccbfa8bb2b72582071803453b6d5c222d /example/Makefile | |
| parent | ffc0a775ce95d08ad6fa3f45cf2d100901466c1b (diff) | |
| download | mini-test-e8778aba27e0737b4212d4b5fca9af531b975d40.tar.gz | |
Fixed an issue with incomplete compilation flags. Confirmed functionality by building an example
Diffstat (limited to 'example/Makefile')
| -rw-r--r-- | example/Makefile | 16 |
1 files changed, 16 insertions, 0 deletions
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 |
