Add moon to backGround
This commit is contained in:
24
Makefile
24
Makefile
@@ -1,42 +1,46 @@
|
||||
RAYFLAGS= -D_GNU_SOURCE -DPLATFORM_DESKTOP -DGRAPHICS_API_OPENGL_33
|
||||
RAYINCLUDE= -Iraylib/src -Iraylib/src/external/glfw/include -Iraylib/src/external/glfw/deps/mingw
|
||||
RAYOBJECTS= obj/rcore.o obj/rshapes.o obj/rtextures.o obj/rtext.o obj/utils.o obj/rglfw.o obj/rmodels.o obj/raudio.o
|
||||
RAYOBJECTS= rl/rcore.o rl/rshapes.o rl/rtextures.o rl/rtext.o rl/utils.o rl/rglfw.o rl/rmodels.o rl/raudio.o
|
||||
|
||||
#RAYOPT= -O3
|
||||
RAYOPT= -ggdb
|
||||
|
||||
all: setup main run
|
||||
all: clean setup main run
|
||||
|
||||
setup:
|
||||
if [ ! -d "raylib" ]; then \
|
||||
git clone --depth 1 --branch "5.0" git@github.com:raysan5/raylib.git; \
|
||||
rm -rf raylib/.git; \
|
||||
fi
|
||||
if [ ! -d "obj" ]; then \
|
||||
mkdir -p obj; \
|
||||
fi
|
||||
if [ ! -d "rl" ]; then \
|
||||
mkdir -p rl; \
|
||||
fi
|
||||
|
||||
obj/rcore.o: raylib/src/rcore.c
|
||||
rl/rcore.o: raylib/src/rcore.c
|
||||
gcc -c $< -o $@ $(RAYOPT) $(RAYFLAGS) $(RAYINCLUDE)
|
||||
|
||||
obj/rshapes.o: raylib/src/rshapes.c
|
||||
rl/rshapes.o: raylib/src/rshapes.c
|
||||
gcc -c $< -o $@ $(RAYOPT) $(RAYFLAGS) $(RAYINCLUDE)
|
||||
|
||||
obj/rtextures.o: raylib/src/rtextures.c
|
||||
rl/rtextures.o: raylib/src/rtextures.c
|
||||
gcc -c $< -o $@ $(RAYOPT) $(RAYFLAGS) $(RAYINCLUDE)
|
||||
|
||||
obj/rtext.o: raylib/src/rtext.c
|
||||
rl/rtext.o: raylib/src/rtext.c
|
||||
gcc -c $< -o $@ $(RAYOPT) $(RAYFLAGS) $(RAYINCLUDE)
|
||||
|
||||
obj/utils.o: raylib/src/utils.c
|
||||
rl/utils.o: raylib/src/utils.c
|
||||
gcc -c $< -o $@ $(RAYOPT) $(RAYFLAGS) $(RAYINCLUDE)
|
||||
|
||||
obj/rglfw.o: raylib/src/rglfw.c
|
||||
rl/rglfw.o: raylib/src/rglfw.c
|
||||
gcc -c $< -o $@ $(RAYOPT) $(RAYFLAGS) $(RAYINCLUDE)
|
||||
|
||||
obj/rmodels.o: raylib/src/rmodels.c
|
||||
rl/rmodels.o: raylib/src/rmodels.c
|
||||
gcc -c $< -o $@ $(RAYOPT) $(RAYFLAGS) $(RAYINCLUDE)
|
||||
|
||||
obj/raudio.o: raylib/src/raudio.c
|
||||
rl/raudio.o: raylib/src/raudio.c
|
||||
gcc -c $< -o $@ $(RAYOPT) $(RAYFLAGS) $(RAYINCLUDE)
|
||||
|
||||
SRCDIR = src
|
||||
|
||||
Reference in New Issue
Block a user