diff options
Diffstat (limited to 'Makefile')
| -rw-r--r-- | Makefile | 16 |
1 files changed, 16 insertions, 0 deletions
diff --git a/Makefile b/Makefile new file mode 100644 index 0000000..35c00a4 --- /dev/null +++ b/Makefile @@ -0,0 +1,16 @@ +CC = gcc +RAYLIB = ../raylib +INCDIR = -I$(RAYLIB)/src +CFLAGS += -Wall $(INCDIR) +LDFLAGS += $(LIBDIR) +LIBRAYLIB = $(RAYLIB)/release/linux/libraylib.a +LIBGLFW3 = $(RAYLIB)/src/external/glfw3/lib/linux/libglfw3.a +LDLIBS += $(LIBRAYLIB) $(LIBGLFW3) -lm -ldl -lpthread -lX11 -lXrandr \ + -lXinerama -lXi -lXxf86vm -lXcursor + +breakout: main.c timer.c + $(CC) $(CFLAGS) $(LDFLAGS) -o $@ $^ $(LDLIBS) + +.PHONY: clean +clean: + rm -f breakout |
