diff options
Diffstat (limited to 'Makefile.mingw')
| -rw-r--r-- | Makefile.mingw | 15 |
1 files changed, 15 insertions, 0 deletions
diff --git a/Makefile.mingw b/Makefile.mingw new file mode 100644 index 0000000..dd4c833 --- /dev/null +++ b/Makefile.mingw @@ -0,0 +1,15 @@ +CC = i686-w64-mingw32-gcc +RAYLIB = ../raylib +INCDIR = -I$(RAYLIB)/src +CFLAGS += -Wall $(INCDIR) +LDFLAGS += $(LIBDIR) +LIBRAYLIB = $(RAYLIB)/release/win32/mingw32/libraylib.a +LIBGLFW3 = $(RAYLIB)/src/external/glfw3/lib/win32/libglfw3.a +LDLIBS += $(LIBRAYLIB) $(LIBGLFW3) -lgdi32 + +breakout.exe: main.c timer.c + $(CC) $(CFLAGS) $(LDFLAGS) -o $@ $^ $(LDLIBS) + +.PHONY: clean +clean: + rm -f breakout |
