diff --git a/mkxp.pro b/mkxp.pro index 6f8211f..c4d52d3 100644 --- a/mkxp.pro +++ b/mkxp.pro @@ -9,7 +9,7 @@ INCLUDEPATH += . src CONFIG -= qt CONFIG += link_pkgconfig -CONFIG(release, debug|release): DEFINES += NDEBUG +CONFIG(release, debug|release): DEFINES += NDEBUG STEAM isEmpty(BINDING) { BINDING = MRI @@ -89,10 +89,6 @@ isEmpty(BOOST_LIB_SUFFIX) { LIBS += -lboost_program_options$$BOOST_LIB_SUFFIX -STEAM { - DEFINES += STEAM -} - # Input HEADERS += \ src/quadarray.h \ @@ -197,7 +193,7 @@ SOURCES += \ src/screen.cpp \ src/i18n.cpp -STEAM { +CONFIG(release, debug|release): { HEADERS += src/steam.h steamshim/steamshim_child.h SOURCES += src/steam.cpp steamshim/steamshim_child.c } diff --git a/steamshim_parent/Makefile b/steamshim_parent/Makefile index 107008f..7800230 100644 --- a/steamshim_parent/Makefile +++ b/steamshim_parent/Makefile @@ -5,7 +5,7 @@ CXX ?= clang++ WINDRES ?= windres HOST ?= linux64 FLAGS := -I$(STEAMWORKS)/public -DGAME_LAUNCH_NAME=\"$(GAME_LAUNCH_NAME)\" -Wall -DEBUG ?= 1 +DEBUG ?= 0 ifeq ($(HOST),w32) FLAGS += -L$(STEAMWORKS)/redistributable_bin