diff --git a/Makefile b/Makefile index 9aac749..d268f5b 100644 --- a/Makefile +++ b/Makefile @@ -60,6 +60,7 @@ help: echo "set up configuration" echo " make configlinux to generate the linix build" echo " make configcross to generate the windows build using cross tools." + echo " make configwindows to generate the windows build using msys2." echo " " echo " make checkdumpfile to create a test tool for videodumps." diff --git a/Makefile.rules.windows b/Makefile.rules.windows new file mode 100644 index 0000000..53394b9 --- /dev/null +++ b/Makefile.rules.windows @@ -0,0 +1,12 @@ + +include Makefile.config + +TARGET = $(APP).exe +CPP = g++ +CPPFLAGS = -ggdb -Wall -O0 `pkg-config --cflags gtk+-3.0 gmodule-export-2.0` -Wl,--export-dynamic -DBUILD_WINDOWS=1 -Wdeprecated +INCLUDES = +LDFLAGS = -lws2_32 -ljpeg +LIBS = `pkg-config --libs gtk+-3.0 gmodule-export-2.0` -L/usr/lib -mwindows + +OBJECTS := $(OBJECTS) windows.oo +