added debug target
This commit is contained in:
parent
daff654867
commit
1aa3b43d8c
5
Makefile
5
Makefile
@ -14,6 +14,9 @@ all: clean build
|
||||
|
||||
build: $(MIN_PATH)
|
||||
|
||||
debug: HAXE_FLAGS += -D webconsole --debug
|
||||
debug: build
|
||||
|
||||
$(HAXE_PATH): $(shell find src -name '*.hx')
|
||||
haxe build.hxml $(HAXE_FLAGS)
|
||||
|
||||
@ -30,7 +33,7 @@ clean:
|
||||
rm -rf $(BUILD_DIR)
|
||||
|
||||
watch:
|
||||
find src -name "*.hx" | entr make build
|
||||
find src -name "*.hx" | entr make debug
|
||||
|
||||
emulator:
|
||||
craftos --mount-ro /=build
|
||||
|
Loading…
Reference in New Issue
Block a user