Added extra compiler flags

This commit is contained in:
Jef Roosens 2020-11-06 15:45:41 +01:00
parent 209f27d114
commit 66093b4858
2 changed files with 28 additions and 19 deletions

View file

@ -1,6 +1,7 @@
SRC_DIR=src
RELEASE_DIR=build/release
DEBUG_DIR=build/debug
SRC_DIR = src
RELEASE_DIR = build/release
DEBUG_DIR = build/debug
BINARY = stj
all: debug
.PHONY: all
@ -13,7 +14,7 @@ clean:
# Release
run-release: release
@ ./$(RELEASE_DIR)
@ ./$(RELEASE_DIR)/$(BINARY)
.PHONY: run-release
release: $(RELEASE_DIR)/Makefile
@ -30,7 +31,7 @@ clean-release:
# Debug
run-debug: debug
@ ./$(DEBUG_DIR)
@ ./$(DEBUG_DIR)/$(BINARY)
.PHONY: run-debug
debug: $(DEBUG_DIR)/Makefile