diff --git a/src/Makefile.mingw b/src/Makefile.mingw index a41ace019..d6cd7da4d 100644 --- a/src/Makefile.mingw +++ b/src/Makefile.mingw @@ -169,7 +169,7 @@ $(PROG).exe: $(OBJ) $(DBOBJ) $(LZFOBJ) $(SIDOBJ) $(SLIRPOBJ) $(LIBS) all: $(PROG).exe -ifeq ($(DEBUG), y) +ifneq ($(DEBUG), y) strip $(PROG).exe endif diff --git a/src/Makefile.mingw64 b/src/Makefile.mingw64 index 19d33a53b..c40cd2464 100644 --- a/src/Makefile.mingw64 +++ b/src/Makefile.mingw64 @@ -169,7 +169,7 @@ $(PROG).exe: $(OBJ) $(DBOBJ) $(LZFOBJ) $(SIDOBJ) $(SLIRPOBJ) $(LIBS) all: $(PROG).exe -ifeq ($(DEBUG), y) +ifneq ($(DEBUG), y) strip $(PROG).exe endif