mirror of
https://github.com/raysan5/raylib.git
synced 2025-12-25 10:22:33 -05:00
Review build system for Android and RPI
This commit is contained in:
11
src/makefile
11
src/makefile
@ -31,7 +31,7 @@ ifeq ($(PLATFORM),PLATFORM_DESKTOP)
|
||||
ifeq ($(OS),Windows_NT)
|
||||
SUBPLATFORM=WINDOWS
|
||||
else
|
||||
UNAMEOS = $(shell uname -s)
|
||||
UNAMEOS:=$(shell uname)
|
||||
ifeq ($(UNAMEOS),Linux)
|
||||
SUBPLATFORM=LINUX
|
||||
else
|
||||
@ -144,15 +144,16 @@ stb_vorbis.o: stb_vorbis.c
|
||||
# clean everything
|
||||
clean:
|
||||
ifeq ($(PLATFORM),PLATFORM_DESKTOP)
|
||||
ifeq ($(SUBPLATFORM),LINUX)
|
||||
find . -type f -executable -delete
|
||||
rm -f *.o libraylib.a
|
||||
endif
|
||||
ifeq ($(SUBPLATFORM),OSX)
|
||||
rm -f *.o libraylib.a
|
||||
else
|
||||
ifeq ($(SUBPLATFORM),LINUX)
|
||||
find . -type f -executable -delete
|
||||
rm -f *.o libraylib.a
|
||||
else
|
||||
del *.o libraylib.a
|
||||
endif
|
||||
endif
|
||||
endif
|
||||
ifeq ($(PLATFORM),PLATFORM_RPI)
|
||||
rm -f *.o libraylib.a
|
||||
|
||||
Reference in New Issue
Block a user