update Makefile

new target: all
error_handling
Avril 3 years ago
parent 4e24d281e2
commit 2842d7ab7f
Signed by: flanchan
GPG Key ID: 284488987C31F630

@ -19,7 +19,7 @@ OPT_FLAGS?= $(addprefix -march=,$(MARCH)) -fgraphite -fopenmp -floop-parallelize
CXX_OPT_FLAGS?= $(OPT_FLAGS) -felide-constructors
CFLAGS += $(COMMON_FLAGS) --std=gnu11
CXXFLAGS += $(COMMON_FLAGS) --std=gnu++20 -fno-exceptions
CXXFLAGS += $(COMMON_FLAGS) --std=gnu++20 #-fno-exceptions
LDFLAGS +=
STRIP=strip
@ -52,6 +52,13 @@ debug: | dirs $(PROJECT)-debug.a
-$(MAKE) dirs
$(MAKE) $(PROJECT)-debug.so
# Rebuild both release and debug targets from scratch
.PHONY: all
all: | clean
-$(MAKE) release
-$(MAKE) clean-rebuild
-$(MAKE) debug
# Targets
dirs:

Loading…
Cancel
Save