ref: 08130995ad8dede1c682de4f4be376d34642d677
parent: 2829f6be68ec3129870c1b7626f3e6223043b4ba
author: Jonne Kokkonen <jonne.kokkonen@gmail.com>
date: Mon Feb 26 19:11:06 EST 2024
allow showing sdl log messages on windows
--- a/Makefile
+++ b/Makefile
@@ -5,7 +5,7 @@
DEPS = src/serial.h src/slip.h src/command.h src/render.h src/ini.h src/config.h src/input.h src/fx_cube.h src/audio.h src/ringbuffer.h src/inline_font.h
#Any special libraries you are using in your project (e.g. -lbcm2835 -lrt `pkg-config --libs gtk+-3.0` ), or leave blank
-INCLUDES = $(shell pkg-config --libs sdl2 libserialport)
+INCLUDES = $(shell pkg-config --libs sdl2 libserialport | sed 's/-mwindows//')
#Set any compiler flags you want to use (e.g. -I/usr/include/somefolder `pkg-config --cflags gtk+-3.0` ), or leave blank
local_CFLAGS = $(CFLAGS) $(shell pkg-config --cflags sdl2 libserialport) -Wall -O2 -pipe -I.
--
⑨