update Makefile

new target: all
error_handling
Avril 4 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 CXX_OPT_FLAGS?= $(OPT_FLAGS) -felide-constructors
CFLAGS += $(COMMON_FLAGS) --std=gnu11 CFLAGS += $(COMMON_FLAGS) --std=gnu11
CXXFLAGS += $(COMMON_FLAGS) --std=gnu++20 -fno-exceptions CXXFLAGS += $(COMMON_FLAGS) --std=gnu++20 #-fno-exceptions
LDFLAGS += LDFLAGS +=
STRIP=strip STRIP=strip
@ -52,6 +52,13 @@ debug: | dirs $(PROJECT)-debug.a
-$(MAKE) dirs -$(MAKE) dirs
$(MAKE) $(PROJECT)-debug.so $(MAKE) $(PROJECT)-debug.so
# Rebuild both release and debug targets from scratch
.PHONY: all
all: | clean
-$(MAKE) release
-$(MAKE) clean-rebuild
-$(MAKE) debug
# Targets # Targets
dirs: dirs:

Loading…
Cancel
Save