Added extra compiler flags
This commit is contained in:
parent
209f27d114
commit
66093b4858
2 changed files with 28 additions and 19 deletions
11
Makefile
11
Makefile
|
|
@ -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
|
||||
|
|
|
|||
Reference in a new issue