Skip to content

Commit 0967b93

Browse files
author
Chris Warren-Smith
committed
RAYLIB: fix reference to raylib_api.json
1 parent e2ae4b9 commit 0967b93

File tree

1 file changed

+4
-3
lines changed

1 file changed

+4
-3
lines changed

raylib/Makefile.am

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -5,12 +5,13 @@
55
# Download the GNU Public License (GPL) from www.gnu.org
66
#
77

8-
generated = func-def.h proc-def.h proc.h func.h
98
sbasic=sbasic
9+
generated = func-def.h proc-def.h proc.h func.h
10+
raylib_api_json=raylib/tools/rlparser/output/raylib_api.json
1011

1112
CLEANFILES = $(generated)
1213

13-
raylib/tools/rlparser/output/raylib_api.json: raylib/src/raylib.h raylib/tools/rlparser/rlparser.c
14+
$(raylib_api_json): raylib/src/raylib.h raylib/tools/rlparser/rlparser.c
1415
(cd raylib/tools/rlparser && make && ./rlparser --format JSON --input ../../src/raylib.h --output output/raylib_api.json)
1516

1617
UNSUPPORTED.md: $(generated)
@@ -19,7 +20,7 @@ UNSUPPORTED.md: $(generated)
1920
README.md: $(generated) mkreadme.bas UNSUPPORTED.md
2021
$(sbasic) mkreadme.bas `grep RAYLIB_VERSION raylib/src/raylib.h | sed 's/#define RAYLIB_VERSION//g' | sed 's/\"//g'` > README.md
2122

22-
$(generated): raylib/parser/raylib_api.json mkraylib.bas
23+
$(generated): $(raylib_api_json) mkraylib.bas
2324
$(sbasic) mkraylib.bas $@ > $@
2425
@touch main.cpp
2526

0 commit comments

Comments
 (0)