diff --git a/Makefile b/Makefile index b45586c..140f03a 100644 --- a/Makefile +++ b/Makefile @@ -70,7 +70,7 @@ STRIP ?= strip RM ?= rm -f LN ?= ln -sf -ifeq ($(MAKECMDGOALS), debug) +ifneq (,$(filter debug,$(MAKECMDGOALS))) OPT = -g else OPT = $(POPT)