diff options
| author | Ray <[email protected]> | 2023-08-26 23:30:44 +0200 |
|---|---|---|
| committer | GitHub <[email protected]> | 2023-08-26 23:30:44 +0200 |
| commit | 7aeaa9f58543bc8cce5e7307d6ea14197a34987f (patch) | |
| tree | 29286add23b5e6df2cac2a7e574f0676e062807a /tools/example-indexer/Makefile | |
| parent | dd19af08372036ccfc92050ef4347fc2b1469b2a (diff) | |
| parent | bffc2bb159d04507e83f75676b7859096b5e5b65 (diff) | |
| download | raylib.com-7aeaa9f58543bc8cce5e7307d6ea14197a34987f.tar.gz raylib.com-7aeaa9f58543bc8cce5e7307d6ea14197a34987f.zip | |
Merge pull request #57 from RokasPuzonas/feature-add-function-search
Add searching by used functions in examples page
Diffstat (limited to 'tools/example-indexer/Makefile')
| -rw-r--r-- | tools/example-indexer/Makefile | 20 |
1 files changed, 20 insertions, 0 deletions
diff --git a/tools/example-indexer/Makefile b/tools/example-indexer/Makefile new file mode 100644 index 0000000..0dce0c2 --- /dev/null +++ b/tools/example-indexer/Makefile @@ -0,0 +1,20 @@ +BUILD_DIR := build + +.DEFAULT_GOAL := all +.PHONY := raylib_example_indexer all clean + +example_indexer: main.c + mkdir -p $(BUILD_DIR) + gcc main.c -o $(BUILD_DIR)/example_indexer -DSTB_C_LEXER_IMPLEMENTATION + +$(BUILD_DIR)/raylib: + mkdir -p $(BUILD_DIR) + git clone [email protected]:raysan5/raylib.git $(BUILD_DIR)/raylib + +run: example_indexer + ./$(BUILD_DIR)/example_indexer $(BUILD_DIR)/raylib/src $(BUILD_DIR)/raylib/examples $(BUILD_DIR)/output.json + +all: $(BUILD_DIR)/raylib example_indexer run + +clean: + rm -rf $(BUILD_DIR) |
