very bad collision(work in progress)
This commit is contained in:
23
Makefile
Normal file
23
Makefile
Normal file
@@ -0,0 +1,23 @@
|
||||
CC=gcc
|
||||
|
||||
SRC=src/main.c \
|
||||
src/world.c \
|
||||
src/player.c \
|
||||
src/physics.c \
|
||||
src/render.c \
|
||||
src/collision.c\
|
||||
|
||||
OUT=wrldbox
|
||||
|
||||
INCLUDES=-Iinclude
|
||||
LIBPATH=-Llib
|
||||
|
||||
CFLAGS=-O2 -Wall
|
||||
|
||||
LIBS=-lraylib -lX11 -ldl -lpthread -lm
|
||||
|
||||
all:
|
||||
$(CC) $(SRC) $(CFLAGS) $(INCLUDES) $(LIBPATH) -o $(OUT) $(LIBS)
|
||||
|
||||
clean:
|
||||
rm -f $(OUT)
|
||||
Reference in New Issue
Block a user