Commit 462b1a39 authored by Jan Kiene's avatar Jan Kiene
Browse files

add switch in Makefile for activating WMOPS switch

parent e2806f2a
Loading
Loading
Loading
Loading
+4 −0
Original line number Diff line number Diff line
@@ -101,6 +101,10 @@ CFLAGS += -fprofile-arcs -ftest-coverage -fprofile-update=atomic
LDFLAGS += -fprofile-arcs -ftest-coverage -fprofile-update=atomic
endif

ifeq "$(WMOPS)" "1"
CFLAGS += -DWMOPS=1
endif

ifeq "$(STRIP)" "1"
CFLAGS   += -fdata-sections -ffunction-sections
ifneq ($(UNAME_S),Darwin)