From 53e1d1df0ad7d8d77194bdaa219a9cb90e114e97 Mon Sep 17 00:00:00 2001 From: Mathieu Laurendeau Date: Wed, 2 May 2018 19:57:56 +0200 Subject: [PATCH] Cleaning. --- launcher/Makefile | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/launcher/Makefile b/launcher/Makefile index 814df422..873e3999 100644 --- a/launcher/Makefile +++ b/launcher/Makefile @@ -7,7 +7,10 @@ endif NAME=$(shell basename $(shell pwd)) -CPPFLAGS += `sdl2-config --cflags` `wx-config --cflags` -Winvalid-pch -include wx_pch.h -DWX_PRECOMP -Wno-unused-local-typedefs +ifeq ($(OS),Windows_NT) +CPPFLAGS += `sdl2-config --cflags` +endif +CPPFLAGS += `wx-config --cflags` -Winvalid-pch -include wx_pch.h -DWX_PRECOMP -Wno-unused-local-typedefs LDLIBS += `wx-config --libs` -lstdc++ LDLIBS += $(GIMXCONFIGEDITOR_LDLIBS) $(GIMXUPDATER_LDLIBS) $(GIMXCONFIGUPDATER_LDLIBS) $(GIMXHID_LDLIBS) $(GIMXGPP_LDLIBS) $(GIMXSERIAL_LDLIBS)