Compare commits
No commits in common. "c6dc37c696d49fecf054e73a3452f96f50d5d879" and "f5b8032eae8fc8dadee017e569369c5b486437fa" have entirely different histories.
c6dc37c696
...
f5b8032eae
1
.gitignore
vendored
1
.gitignore
vendored
@ -7,4 +7,3 @@ raylib-build
|
||||
*_stats
|
||||
*.data
|
||||
*.ods
|
||||
*.dSYM
|
||||
|
19
Makefile
19
Makefile
@ -1,28 +1,15 @@
|
||||
CC = clang
|
||||
CFLAGS = -g -O3 -Iraylib/include -Iwapp/src
|
||||
LDFLAGS = '-Wl,-rpath,$$ORIGIN/raylib/lib' -Lraylib/lib -lraylib
|
||||
BASEDIR = $(shell realpath ./)
|
||||
RL_SRCDIR = ${BASEDIR}/raylib-src/src
|
||||
RL_BUILDDIR = ${BASEDIR}/raylib-build
|
||||
RL_DESTDIR = ${BASEDIR}/raylib
|
||||
RL_LIBDIR = ${RL_DESTDIR}/lib
|
||||
RL_INCLUDEDIR = ${RL_DESTDIR}/include
|
||||
|
||||
.PHONY: all raylib wapp no_dod dod
|
||||
|
||||
all: no_dod dod
|
||||
|
||||
# raylib:
|
||||
# cmake -S raylib-src -B raylib-build -DCMAKE_INSTALL_PREFIX=raylib -DCMAKE_CONFIGURATION_TYPES=Release -DBUILD_SHARED_LIBS=ON -G "Ninja Multi-Config"
|
||||
# cmake --build raylib-build --config=Release
|
||||
# cmake --install raylib-build --config=Release
|
||||
|
||||
raylib:
|
||||
mkdir -p ${RL_BUILDDIR} ${RL_LIBDIR} ${RL_INCLUDEDIR}
|
||||
cd ${RL_SRCDIR} && \
|
||||
make PLATFORM=PLATFORM_DESKTOP RAYLIB_RELEASE_PATH=${RL_BUILDDIR} RAYLIB_LIBTYPE=SHARED && \
|
||||
cp ${RL_BUILDDIR}/* ${RL_LIBDIR} && \
|
||||
cp ${RL_SRCDIR}/*.h ${RL_INCLUDEDIR}
|
||||
cmake -S raylib-src -B raylib-build -DCMAKE_INSTALL_PREFIX=raylib -DCMAKE_CONFIGURATION_TYPES=Release -DBUILD_SHARED_LIBS=ON -G "Ninja Multi-Config"
|
||||
cmake --build raylib-build --config=Release
|
||||
cmake --install raylib-build --config=Release
|
||||
|
||||
wapp:
|
||||
cd wapp && python3 -m codegen
|
||||
|
Loading…
x
Reference in New Issue
Block a user