Added build system for Windows msys2

master
U-INFINEON\jahnst 3 years ago
parent 809540875d
commit 10351217c4

@ -60,6 +60,7 @@ help:
echo "set up configuration" echo "set up configuration"
echo " make configlinux to generate the linix build" echo " make configlinux to generate the linix build"
echo " make configcross to generate the windows build using cross tools." echo " make configcross to generate the windows build using cross tools."
echo " make configwindows to generate the windows build using msys2."
echo " " echo " "
echo " make checkdumpfile to create a test tool for videodumps." echo " make checkdumpfile to create a test tool for videodumps."

@ -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
Loading…
Cancel
Save